Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9ca4c014
Commit
9ca4c014
authored
Dec 27, 2011
by
Stefan Monnier
Browse files
* variables.texi (Creating Buffer-Local): Warn against misuses of
make-variable-buffer-local. Fixes: debbugs:10258
parent
ba24cea2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+5
-0
doc/lispref/variables.texi
doc/lispref/variables.texi
+2
-0
No files found.
doc/lispref/ChangeLog
View file @
9ca4c014
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.
...
...
doc/lispref/variables.texi
View file @
9ca4c014
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment