Emacs: Initialise Customize after package config
Alan Pearce alan.pearce@spotcap.com
Mon, 31 Aug 2015 09:39:53 +0200
1 files changed, 12 insertions(+), 13 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -27,19 +27,6 @@ (setq user-mail-address "alan@alanpearce.co.uk" user-full-name "Alan Pearce") #+end_src -** Customize -I don’t really like using customize for normal configuration. -Instead, I use it for things that get saved automatically. That’s why -I use a different file, which is ignored by the VCS. It also means -that it’s not important whether the file exists or not, which is why I -pass =:noerror= to =load= - -#+BEGIN_SRC emacs-lisp - (setq custom-file "~/.emacs.d/custom.el") - (load custom-file :noerror :nomessage) -#+END_SRC - - * Packaging I still use a couple of [[file:elisp/][elisp files]] that don’t appear to be in any package @@ -109,6 +96,18 @@ :defer 5 :config (pallet-mode 1)) #+END_SRC + +* Customize +I don’t really like using customize for normal configuration. +Instead, I use it for things that get saved automatically. That’s why +I use a different file, which is ignored by the VCS. It also means +that it’s not important whether the file exists or not, which is why I +pass =:noerror= to =load= + +#+BEGIN_SRC emacs-lisp + (setq custom-file "~/.emacs.d/custom.el") + (load custom-file :noerror :nomessage) +#+END_SRC * Helpers I like to rename modeline lighters. This macro works for major modes.