diff --git a/global.org b/global.org index a17cea5..0755acd 100644 --- a/global.org +++ b/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")