all repos — archive/dotfiles @ 6d37b1638766cf1720194a0e7045ed1802b19b62

Superseded by nixfiles

Emacs: Initialise Customize after package config

Alan Pearce
commit

6d37b1638766cf1720194a0e7045ed1802b19b62

parent

c8a0c2118957c9b9fdaf060308a3920d994aa0d9

1 file changed, 12 insertions(+), 13 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-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.