Put the actual init file into the repo too

This commit is contained in:
Jeremy Dormitzer 2019-01-27 22:22:00 -05:00
parent cc18ffe286
commit 12856e4dc9
2 changed files with 11 additions and 0 deletions

3
emacs/.emacs.d/init.el Normal file
View File

@ -0,0 +1,3 @@
(setq vc-follow-symlinks t)
(require 'org)
(org-babel-load-file (expand-file-name "~/init.org"))

View File

@ -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