fix bug with alect-theme requiring confirmation on each emacs start
Themes are being marked safe in custom.el file, so we must load that file before loading the theme.
This commit is contained in:
13
.emacs
13
.emacs
@@ -21,14 +21,17 @@
|
|||||||
(dolist (mode-hook mode-hook-list)
|
(dolist (mode-hook mode-hook-list)
|
||||||
(add-hook mode-hook hook)))
|
(add-hook mode-hook hook)))
|
||||||
|
|
||||||
(use-package alect-themes
|
|
||||||
:config
|
|
||||||
(load-theme 'alect-black))
|
|
||||||
|
|
||||||
(use-package use-package
|
(use-package use-package
|
||||||
:init
|
:init
|
||||||
(setq use-package-always-ensure t))
|
(setq use-package-always-ensure t))
|
||||||
|
|
||||||
|
(setq custom-file "~/.emacs.d/custom.el")
|
||||||
|
(load custom-file)
|
||||||
|
|
||||||
|
(use-package alect-themes
|
||||||
|
:config
|
||||||
|
(load-theme 'alect-black))
|
||||||
|
|
||||||
(use-package helm
|
(use-package helm
|
||||||
:demand t
|
:demand t
|
||||||
:bind (("M-x" . helm-M-x)
|
:bind (("M-x" . helm-M-x)
|
||||||
@@ -107,8 +110,6 @@
|
|||||||
erc-kill-queries-on-quit t
|
erc-kill-queries-on-quit t
|
||||||
erc-kill-server-buffer-on-quit t)
|
erc-kill-server-buffer-on-quit t)
|
||||||
|
|
||||||
(setq custom-file "~/.emacs.d/custom.el")
|
|
||||||
(load custom-file)
|
|
||||||
(put 'narrow-to-region 'disabled nil)
|
(put 'narrow-to-region 'disabled nil)
|
||||||
|
|
||||||
(add-hook 'c-mode-common-hook
|
(add-hook 'c-mode-common-hook
|
||||||
|
|||||||
Reference in New Issue
Block a user