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

@ -68,22 +68,25 @@
;; UTF-8 please ;; UTF-8 please
(set-charset-priority 'unicode) (set-charset-priority 'unicode)
(setq locale-coding-system 'utf-8) ; pretty (setq locale-coding-system 'utf-8) ; pretty
(set-terminal-coding-system 'utf-8) ; pretty (set-terminal-coding-system 'utf-8) ; pretty
(set-keyboard-coding-system 'utf-8) ; pretty (set-keyboard-coding-system 'utf-8) ; pretty
(set-selection-coding-system 'utf-8) ; please (set-selection-coding-system 'utf-8) ; please
(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-enable-at-startup nil package--init-file-ensured t
package-archives package-user-dir doom-packages-dir
'(("gnu" . "http://elpa.gnu.org/packages/") package-enable-at-startup nil
("melpa" . "http://melpa.org/packages/") package-archives
("org" . "http://orgmode.org/elpa/")) '(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")
("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