summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-10-24 20:35:12 +0000
committerKim F. Storm <storm@cua.dk>2004-10-24 20:35:12 +0000
commite80e8000429ddb954c36f17fe690a38b7efa38dc (patch)
tree58b619f4f9711d9a312405cab13cdccdef4569f1 /lisp/help.el
parent0df40de01f5c78cfd48237fa6ce9909997ad55bd (diff)
downloademacs-e80e8000429ddb954c36f17fe690a38b7efa38dc.tar.gz
(describe-mode): Fix 2004-10-13 change.
Copy pure "Auto Fill" string so it can be propertized later without causing a read-only error.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 5a2867bdc18..0ed9fe4b759 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -651,7 +651,8 @@ whose documentation describes the minor mode."
(push (list pretty-minor-mode mode indicator)
minor-modes))))
(if auto-fill-function
- (push '("Auto Fill" auto-fill-mode " Fill")
+ ;; copy pure string so we can add face property to it below.
+ (push (list (copy-sequence "Auto Fill") 'auto-fill-mode " Fill")
minor-modes))
(setq minor-modes
(sort minor-modes