diff options
author | Tom Willemse | 2014-04-20 14:17:36 +0200 |
---|---|---|
committer | Tom Willemse | 2014-04-20 14:17:36 +0200 |
commit | 9a646551ad477f19a0536d9055b149ba4e586cf7 (patch) | |
tree | 2a8c66271c104b7cd857904c3739b0e02264c198 | |
parent | e4567610e9a1056838dd24fa80730848ee9240f4 (diff) | |
download | emacs-9a646551ad477f19a0536d9055b149ba4e586cf7.tar.gz emacs-9a646551ad477f19a0536d9055b149ba4e586cf7.zip |
Move loading custom file to init.org
-rw-r--r-- | .emacs.d/init.el | 5 | ||||
-rw-r--r-- | .emacs.d/init.org | 16 |
2 files changed, 16 insertions, 5 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 99aafa3..e06caa6 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -910,7 +910,6 @@ from myaethon2.core.decorators import ( ;;;; Unconditional settings -(setq custom-file "~/.emacs.d/custom.el") (setq default-frame-alist `((border-width . 0) (internal-border-width . 0) @@ -1441,10 +1440,6 @@ from myaethon2.core.decorators import ( (load system-name :noerror) -;;;; Custom -;; Finally, load any `customize' settings. -(load custom-file) - ;;;; End (provide 'init) diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 614a1ab..f1f7243 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -517,6 +517,20 @@ (setq-default tab-width 4) #+END_SRC +* Load custom file + + I don't really use the Emacs customization interface much, but I + have used it as a kind-of persistent datastore, specifically for + desktop-registry[fn:6]. I do very much like the idea of it, it's a + very cool thing to have. I also use ~custom.el~ for storing some + things that I really can't store in a public viewing location like + this file or the git repository it lives in. + + #+BEGIN_SRC emacs-lisp + (setq custom-file "~/.emacs.d/custom.el") + (load custom-file) + #+END_SRC + * Notes Here are some random or somewhat general notes about things you may @@ -552,3 +566,5 @@ [fn:4] http://stackoverflow.com/questions/22175214/automatically-switch-language-in-gnus-depending-on-recipient [fn:5] I still use 2 spaces for some languages, like HTML. + +[fn:6] http://code.ryuslash.org/desktop-registry/about/ |