Mercurial > emacs
diff lisp/help.el @ 57675:5ee6ba47682f
(describe-mode): Fix 2004-10-13 change.
Copy pure "Auto Fill" string so it can be propertized later
without causing a read-only error.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 24 Oct 2004 20:35:12 +0000 |
parents | 32dab1aa8b9a |
children | 289e10822308 |
line wrap: on
line diff
--- a/lisp/help.el Sun Oct 24 20:34:49 2004 +0000 +++ b/lisp/help.el Sun Oct 24 20:35:12 2004 +0000 @@ -651,7 +651,8 @@ (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