diff options
| author | Kim F. Storm | 2004-10-24 20:35:12 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-10-24 20:35:12 +0000 |
| commit | d1eb6c47fa00d7f3e5b13b2138555e581768df55 (patch) | |
| tree | 3c5e448a1c775e06145821206d4a3d61828e2d46 | |
| parent | 4a2ca8dd70e5b1ae5c765f08b80a3a9158d9ae18 (diff) | |
| download | emacs-d1eb6c47fa00d7f3e5b13b2138555e581768df55.tar.gz emacs-d1eb6c47fa00d7f3e5b13b2138555e581768df55.zip | |
(describe-mode): Fix 2004-10-13 change.
Copy pure "Auto Fill" string so it can be propertized later
without causing a read-only error.
| -rw-r--r-- | lisp/help.el | 3 |
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." | |||
| 651 | (push (list pretty-minor-mode mode indicator) | 651 | (push (list pretty-minor-mode mode indicator) |
| 652 | minor-modes)))) | 652 | minor-modes)))) |
| 653 | (if auto-fill-function | 653 | (if auto-fill-function |
| 654 | (push '("Auto Fill" auto-fill-mode " Fill") | 654 | ;; copy pure string so we can add face property to it below. |
| 655 | (push (list (copy-sequence "Auto Fill") 'auto-fill-mode " Fill") | ||
| 655 | minor-modes)) | 656 | minor-modes)) |
| 656 | (setq minor-modes | 657 | (setq minor-modes |
| 657 | (sort minor-modes | 658 | (sort minor-modes |