Add a note about setq / setq-default

master
Jacopo De Simoi 9 years ago
parent 0d181a5453
commit 2cd42a801e
  1. 8
      global.org

@ -7,6 +7,14 @@
# -*- eval: (add-hook 'before-save-hook 'org-icalendar-export-to-ics nil t) -*-
* Some remarks and comments
** setq vs setq-default
Some variables are buffer-local, others are not; for non buffer-local variables the two commands are
equivalent; for the buffer-local variables, setq acts on the current buffer, whereas setq-default sets the
default value of the variable for buffers that do not have a local value.
:source: [https://stackoverflow.com/a/18173666]
* Move Customize to a separate file
#+BEGIN_SRC emacs-lisp
(setq custom-file "~/.emacs.d/custom.el")

Loading…
Cancel
Save