mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 05:17:35 +00:00
* variables.texi (Creating Buffer-Local): Warn against misuses of
make-variable-buffer-local. Fixes: debbugs:10258
This commit is contained in:
parent
ba24cea259
commit
9ca4c014c8
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2011-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* variables.texi (Creating Buffer-Local): Warn against misuses of
|
||||
make-variable-buffer-local (bug#10258).
|
||||
|
||||
2011-08-28 Dani Moncayo <dmoncayo@gmail.com> (tiny change)
|
||||
|
||||
* lists.texi (Building Lists): Fix typo.
|
||||
|
|
|
|||
|
|
@ -1268,6 +1268,8 @@ needed if you use the @var{local} argument to @code{add-hook} or
|
|||
This function marks @var{variable} (a symbol) automatically
|
||||
buffer-local, so that any subsequent attempt to set it will make it
|
||||
local to the current buffer at the time.
|
||||
Contrary to @code{make-local-variable} with which it is often confused, this
|
||||
cannot be undone, and affects the behavior of the variable in all buffers.
|
||||
|
||||
A peculiar wrinkle of this feature is that binding the variable (with
|
||||
@code{let} or other binding constructs) does not create a buffer-local
|
||||
|
|
|
|||
Loading…
Reference in a new issue