From f98637b51b5b938c894cb77a5d5aa6a86b2a727d Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 12 Nov 2023 21:42:25 +0100 Subject: [PATCH] ; Fix 'add-face-text-property' shortdoc * lisp/emacs-lisp/shortdoc.el (text-properties): Add missing ':no-eval' keyword. (Bug#67138) --- lisp/emacs-lisp/shortdoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index f5cbb2e645f..e7c38d996b9 100644 --- a/lisp/emacs-lisp/shortdoc.el +++ b/lisp/emacs-lisp/shortdoc.el @@ -1384,7 +1384,7 @@ A FUNC form can have any number of `:no-eval' (or `:no-value'), (set-text-properties :no-eval (set-text-properties (point) (1+ (point)) '(face error))) (add-face-text-property - (add-face-text-property START END '(:foreground "green"))) + :no-eval (add-face-text-property START END '(:foreground "green"))) (propertize :eval (propertize "foo" 'face 'italic 'mouse-face 'bold-italic)) "Searching for Text Properties" -- 2.39.2