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
commitd1eb6c47fa00d7f3e5b13b2138555e581768df55 (patch)
tree3c5e448a1c775e06145821206d4a3d61828e2d46 /lisp/help.el
parent4a2ca8dd70e5b1ae5c765f08b80a3a9158d9ae18 (diff)
downloademacs-d1eb6c47fa00d7f3e5b13b2138555e581768df55.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