diff options
author | Alan Pearce | 2015-08-31 09:39:53 +0200 |
---|---|---|
committer | Alan Pearce | 2015-08-31 09:39:53 +0200 |
commit | 6d37b1638766cf1720194a0e7045ed1802b19b62 (patch) | |
tree | f0276cbc3a48ad1e3ae272a3e11db8795063e11d /tag-emacs | |
parent | c8a0c2118957c9b9fdaf060308a3920d994aa0d9 (diff) | |
download | nixfiles-6d37b1638766cf1720194a0e7045ed1802b19b62.tar.lz nixfiles-6d37b1638766cf1720194a0e7045ed1802b19b62.tar.zst nixfiles-6d37b1638766cf1720194a0e7045ed1802b19b62.zip |
Emacs: Initialise Customize after package config
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index f6c4cf7d..f97f2680 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -27,19 +27,6 @@ the buffer to be empty. 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 @@ -110,6 +97,18 @@ from inside Emacs. I don’t need it on startup, so I tell #+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. #+BEGIN_SRC emacs-lisp |