aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2009-11-11 06:17:07 +0000
committerDan Nicolaescu2009-11-11 06:17:07 +0000
commit8b908da69e0eaab847c6982d939e23caa606a27d (patch)
treec65466b94a13bb259e6690e8e40326ddf75faa01
parentff917d632134b76be4c764dd6cf3ac1984b371a4 (diff)
downloademacs-8b908da69e0eaab847c6982d939e23caa606a27d.tar.gz
emacs-8b908da69e0eaab847c6982d939e23caa606a27d.zip
(define-minor-mode): Purecopy :lighter.
-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 @@
12009-11-11 Dan Nicolaescu <dann@ics.uci.edu> 12009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
4
3 * subr.el (add-hook): Purecopy strings. 5 * subr.el (add-hook): Purecopy strings.
4 (eval-after-load): Purecopy load-history-regexp and the form. 6 (eval-after-load): Purecopy load-history-regexp and the form.
5 7
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
158 (setq body (cdr body)) 158 (setq body (cdr body))
159 (case keyw 159 (case keyw
160 (:init-value (setq init-value (pop body))) 160 (:init-value (setq init-value (pop body)))
161 (:lighter (setq lighter (pop body))) 161 (:lighter (setq lighter (purecopy (pop body))))
162 (:global (setq globalp (pop body))) 162 (:global (setq globalp (pop body)))
163 (:extra-args (setq extra-args (pop body))) 163 (:extra-args (setq extra-args (pop body)))
164 (:set (setq set (list :set (pop body)))) 164 (:set (setq set (list :set (pop body))))