reformat setq vs setq-default

master
Jacopo De Simoi 9 years ago
parent 8d47649dbb
commit c3e4da3977
  1. 9
      global.org

@ -15,10 +15,11 @@
See also [http://orgmode.org/manual/Extracting-source-code.html#Extracting-source-code] See also [http://orgmode.org/manual/Extracting-source-code.html#Extracting-source-code]
* Some remarks and comments * Some remarks and comments
** setq vs setq-default ** ~setq~ vs ~setq-default~
Some variables are buffer-local, others are not; for non buffer-local variables the two commands are Some variables are buffer-local, others are not; for non buffer-local
equivalent; for the buffer-local variables, setq acts on the current buffer, whereas setq-default sets the variables the two commands are equivalent; for the buffer-local variables,
default value of the variable for buffers that do not have a local value. 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] :source: [https://stackoverflow.com/a/18173666]

Loading…
Cancel
Save