diff options
author | Tom Willemse | 2014-04-20 13:06:46 +0200 |
---|---|---|
committer | Tom Willemse | 2014-04-20 13:06:46 +0200 |
commit | d1e660d14ab1e1eaab4822b7fa8accffa1cd0b3a (patch) | |
tree | 906b49368052432c37076ea9f1b38b684bdb81da | |
parent | 397bd61324798d04e7e8a7fecdfa9dbf885926bd (diff) | |
download | emacs-d1e660d14ab1e1eaab4822b7fa8accffa1cd0b3a.tar.gz emacs-d1e660d14ab1e1eaab4822b7fa8accffa1cd0b3a.zip |
Move gnus-init setting to init.org
-rw-r--r-- | .emacs.d/init.el | 2 | ||||
-rw-r--r-- | .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 |