[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100480: Improve documentation of
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100480: Improve documentation of permanent local variables. |
Date: |
Fri, 18 Feb 2011 12:04:48 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100480
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-23
timestamp: Fri 2011-02-18 12:04:48 +0200
message:
Improve documentation of permanent local variables.
variables.texi (Creating Buffer-Local): Explain the meaning of
permanent local variables.
modified:
doc/lispref/ChangeLog
doc/lispref/variables.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2011-02-18 05:11:26 +0000
+++ b/doc/lispref/ChangeLog 2011-02-18 10:04:48 +0000
@@ -1,3 +1,8 @@
+2011-02-18 Eli Zaretskii <address@hidden>
+
+ * variables.texi (Creating Buffer-Local): Explain the meaning of
+ permanent local variables.
+
2011-02-18 Glenn Morris <address@hidden>
* keymaps.texi (Remapping Commands): Mention how to undo it.
=== modified file 'doc/lispref/variables.texi'
--- a/doc/lispref/variables.texi 2011-01-02 23:50:46 +0000
+++ b/doc/lispref/variables.texi 2011-02-18 10:04:48 +0000
@@ -1409,6 +1409,8 @@
@cindex permanent local variable
A buffer-local variable is @dfn{permanent} if the variable name (a
symbol) has a @code{permanent-local} property that is address@hidden
+Such variables are unaffected by @code{kill-all-local-variables}, and
+their local bindings are therefore not cleared by changing major modes.
Permanent locals are appropriate for data pertaining to where the file
came from or how to save it, rather than with how to edit the contents.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100480: Improve documentation of permanent local variables.,
Eli Zaretskii <=