From a148ca7d2814eae9a6669da2a402c56df9647c3a Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 4 Oct 2015 16:01:32 -0400 Subject: [PATCH] Specify a custom-file and add it to gitignore This is to make customize variables not go in init.el --- .emacs.d/.gitignore | 3 ++- .emacs.d/init.el | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.emacs.d/.gitignore b/.emacs.d/.gitignore index 420322a..9ba4463 100644 --- a/.emacs.d/.gitignore +++ b/.emacs.d/.gitignore @@ -5,4 +5,5 @@ /tramp /smex-items /url -.yas-compiled-snippets.el \ No newline at end of file +.yas-compiled-snippets.el +/custom.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 4e62e36..4b78079 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -12,7 +12,8 @@ (setq compilation-scroll-output 1 read-file-name-completion-ignore-case t inhibit-startup-screen t - vc-follow-symlinks t) + vc-follow-symlinks t + custom-file "custom.el") (load-theme 'fred t) (savehist-mode 1) (show-paren-mode 1)