Commit 450533b0 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* src/data.c (Fmake_variable_buffer_local): Mention `permanent-local'.

parent c484f866
2013-11-24 Stefan Monnier <>
* data.c (Fmake_variable_buffer_local): Mention `permanent-local'.
2013-11-23 Romain Francoise <>
* fileio.c (init_fileio): Move `write_region_inhibit_fsync'
......@@ -1551,8 +1551,12 @@ Note that binding the variable with `let', or setting it while
a `let'-style binding made in this buffer is in effect,
does not make the variable buffer-local. Return VARIABLE.
In most cases it is better to use `make-local-variable',
which makes a variable local in just one buffer.
This globally affects all uses of this variable, so it belongs together with
the variable declaration, rather than with its uses (if you just want to make
a variable local to the current buffer for one particular use, use
`make-local-variable'). Buffer-local bindings are normally cleared
while setting up a new major mode, unless they have a `permanent-local'
The function `default-value' gets the default value and `set-default' sets it. */)
(register Lisp_Object variable)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment