Update custom docstring
This commit is contained in:
parent
0a8afaa79d
commit
39f58b2b26
@ -38,16 +38,17 @@ possible.
|
|||||||
(setq load-prefer-newer t)
|
(setq load-prefer-newer t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Custom Files
|
** Custom Files
|
||||||
It's annoying to have emacs randomly add stuff to your init.el
|
The default value of ~custom-file~ is just the current user's ~.emacs.d/init.el~
|
||||||
whenever you customize a variable. By setting a custom file other than
|
file. Emacs will add content to ~custom-file~ whenever a variable is customized
|
||||||
init.el that is ignored in git, random commits with nothing but
|
or marked as safe. When init.el is version controlled, it is quite annoying to
|
||||||
variable settings are avoided.
|
have random machine-generated variable settings amended to it because those
|
||||||
|
changes are often not worth keeping permanently, so we set a different custom
|
||||||
|
file here to avoid this situation.
|
||||||
|
|
||||||
custom-before.el is loaded before the rest of init.el, while
|
custom-before.el is loaded before the rest of init.el, while custom-after.el is
|
||||||
custom-after.el is loaded afterwards. this-machine.el has
|
loaded afterwards. this-machine.el has customizations that should only apply to
|
||||||
customizations that should only apply to the current machine.
|
the current machine. custom-before and custom-after are not version controlled
|
||||||
custom-before and custom-after are not version controlled in the
|
in the dotfiles repo but they are shared across machines elsewhere.
|
||||||
dotfiles repo but they are shared across machines elsewhere.
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defvar machine-custom "~/.emacs.d/this-machine.el")
|
(defvar machine-custom "~/.emacs.d/this-machine.el")
|
||||||
(defvar custom-after-file "~/.emacs.d/custom-after.el")
|
(defvar custom-after-file "~/.emacs.d/custom-after.el")
|
||||||
|
Loading…
Reference in New Issue
Block a user