summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2009-11-11 06:17:07 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2009-11-11 06:17:07 +0000
commit8b908da69e0eaab847c6982d939e23caa606a27d (patch)
treec65466b94a13bb259e6690e8e40326ddf75faa01 /lisp
parentff917d632134b76be4c764dd6cf3ac1984b371a4 (diff)
downloademacs-8b908da69e0eaab847c6982d939e23caa606a27d.tar.gz
emacs-8b908da69e0eaab847c6982d939e23caa606a27d.tar.bz2
emacs-8b908da69e0eaab847c6982d939e23caa606a27d.zip
(define-minor-mode): Purecopy :lighter.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/easy-mmode.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3b58fe1125f..b146a1d4d9e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
+ * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
+
* subr.el (add-hook): Purecopy strings.
(eval-after-load): Purecopy load-history-regexp and the form.
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index b667d39ea17..bc97b07ddc3 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -158,7 +158,7 @@ For example, you could write
(setq body (cdr body))
(case keyw
(:init-value (setq init-value (pop body)))
- (:lighter (setq lighter (pop body)))
+ (:lighter (setq lighter (purecopy (pop body))))
(:global (setq globalp (pop body)))
(:extra-args (setq extra-args (pop body)))
(:set (setq set (list :set (pop body))))