diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el new file mode 100644 index 0000000..4c4c388 --- /dev/null +++ b/emacs/.emacs.d/init.el @@ -0,0 +1,3 @@ +(setq vc-follow-symlinks t) +(require 'org) +(org-babel-load-file (expand-file-name "~/init.org")) diff --git a/emacs/init.org b/emacs/init.org index cdcd39b..4116304 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -242,6 +242,14 @@ And this function persists a variable: (prin1-to-string vars-plist) nil file))))) #+END_SRC +* Customization File +I don't want anything to write to my init.el, so save customizations in a separate file: +#+BEGIN_SRC emacs-lisp + (setq custom-file (expand-file-name "~/.emacs.d/custom.el")) + (when (file-exists-p custom-file) + (load custom-file)) +#+END_SRC + * Dropbox I put lots of stuff in Dropbox, but the actual folder location differs on my different computers. This function resolves to the Dropbox directory: #+BEGIN_SRC emacs-lisp