Refactor core.el vars; stop package.el from being annoying

This commit is contained in:
Henrik Lissner 2016-06-06 23:53:49 -04:00
parent c1ec0299b4
commit 3e0116effc

View file

@ -75,15 +75,18 @@
(prefer-coding-system 'utf-8) ; with sugar on top (prefer-coding-system 'utf-8) ; with sugar on top
(setq default-process-coding-system '(utf-8-unix . utf-8-unix)) (setq default-process-coding-system '(utf-8-unix . utf-8-unix))
;; stop package.el from being annoying. I rely solely on Cask. ;; Stop package.el from being annoying. I rely solely on Cask.
(setq package--init-file-ensured t (setq-default
package--init-file-ensured t
package-user-dir doom-packages-dir
package-enable-at-startup nil package-enable-at-startup nil
package-archives package-archives
'(("gnu" . "http://elpa.gnu.org/packages/") '(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/") ("melpa" . "http://melpa.org/packages/")
("org" . "http://orgmode.org/elpa/")) ("org" . "http://orgmode.org/elpa/")))
byte-compile-warnings nil ;; Core settings
(setq byte-compile-warnings nil
ad-redefinition-action 'accept ; silence the advised function warnings ad-redefinition-action 'accept ; silence the advised function warnings
apropos-do-all t apropos-do-all t
compilation-always-kill t ; kill compl. process before spawning another compilation-always-kill t ; kill compl. process before spawning another