From d1eb6c47fa00d7f3e5b13b2138555e581768df55 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Sun, 24 Oct 2004 20:35:12 +0000 Subject: [PATCH] (describe-mode): Fix 2004-10-13 change. Copy pure "Auto Fill" string so it can be propertized later without causing a read-only error. --- lisp/help.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5