(describe-mode): Fix 2004-10-13 change.
Copy pure "Auto Fill" string so it can be propertized later without causing a read-only error.
This commit is contained in:
parent
4a2ca8dd70
commit
d1eb6c47fa
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue