From 6d37b1638766cf1720194a0e7045ed1802b19b62 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 31 Aug 2015 09:39:53 +0200 Subject: Emacs: Initialise Customize after package config --- tag-emacs/emacs.d/init.org | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index f6c4cf7..f97f268 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 -- cgit 1.4.1