From d1e660d14ab1e1eaab4822b7fa8accffa1cd0b3a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 20 Apr 2014 13:06:46 +0200 Subject: Move gnus-init setting to init.org --- .emacs.d/init.el | 2 -- .emacs.d/init.org | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 49f2250..e7cae6b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -910,8 +910,6 @@ from myaethon2.core.decorators import ( ;;;; Unconditional settings -(setq gnus-init-file "~/.emacs.d/site-lisp/gnus-init") - (set-fontset-font "fontset-default" 'unicode (font-spec :family "Liberation Mono" :width 'normal diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 8460d7a..098d5e0 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -422,6 +422,25 @@ "/usr/lib/node_modules/tern/emacs/"))) #+END_SRC +* Some unconditional settings + + Here are some settings that either need to be changed before certain + modules load, or that don't belong in any specific module. + +** Gnus init file + + I put my gnus initialization file right where I put all my + module-specific initialization files. Gnus is special, though: It + loads the file every time you start it. That keeps it from using a + simple =(eval-after-load 'gnus '(load "gnus-init"))=. + + *Note:* See my [[Vacuous defvar][note]] on vacuous defvar for this use of =defvar=. + + #+BEGIN_SRC emacs-lisp + (defvar gnus-init-file) + (setq gnus-init-file "~/.emacs.d/site-lisp/gnus-init") + #+END_SRC + * Notes Here are some random or somewhat general notes about things you may -- cgit v1.2.3-54-g00ecf