summaryrefslogtreecommitdiff
path: root/lisp/vc
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-02-21 17:23:51 -0500
committerGlenn Morris <rgm@gnu.org>2012-02-21 17:23:51 -0500
commit6ff86ec481dc43f9cfcc5476e3cd82d1e2b89418 (patch)
tree1e6b2b5282a2bef4c1f46ac7da580dcd9936f9bb /lisp/vc
parent68af8d4fc3bcdf9c9123f66283d0005cf91e34b0 (diff)
downloademacs-6ff86ec481dc43f9cfcc5476e3cd82d1e2b89418.tar.gz
Tiny emerge-defvar-local fix
* lisp/vc/emerge.el (emerge-defvar-local): Set `permanent-local' property rather than unused `preserved'.
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/emerge.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc/emerge.el b/lisp/vc/emerge.el
index bc4b0725c4e..a48f2afecd5 100644
--- a/lisp/vc/emerge.el
+++ b/lisp/vc/emerge.el
@@ -39,13 +39,13 @@
(defmacro emerge-defvar-local (var value doc)
"Defines SYMBOL as an advertised variable.
Performs a defvar, then executes `make-variable-buffer-local' on
-the variable. Also sets the `preserved' property, so that
+the variable. Also sets the `permanent-local' property, so that
`kill-all-local-variables' (called by major-mode setting commands)
won't destroy Emerge control variables."
`(progn
(defvar ,var ,value ,doc)
(make-variable-buffer-local ',var)
- (put ',var 'preserved t)))
+ (put ',var 'permanent-local t)))
;; Add entries to minor-mode-alist so that emerge modes show correctly
(defvar emerge-minor-modes-list