From 3fff22eb20cc59c730c7ec4560c8663dfd55147b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 14 Nov 2023 15:14:01 +0200 Subject: [PATCH 1/3] Fix spell-checking email message with citations This became broken 7 years ago, when the 'boundp condition was removed, and with it an important unrelated part of the code. * lisp/textmodes/ispell.el (ispell-message): Fix cite-regexp. --- lisp/textmodes/ispell.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index eb550b639a3..48d48b07937 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -3973,7 +3973,8 @@ You can bind this to the key C-c i in GNUS or mail by adding to (point-max))) (t (min (point-max) (funcall ispell-message-text-end)))))) (default-prefix ; Vanilla cite prefix (just used for cite-regexp) - (if (ispell-non-empty-string mail-yank-prefix) + (if mail-yank-prefix + (ispell-non-empty-string mail-yank-prefix) " \\|\t")) (cite-regexp ;Prefix of quoted text (cond From f98637b51b5b938c894cb77a5d5aa6a86b2a727d Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 12 Nov 2023 21:42:25 +0100 Subject: [PATCH 2/3] ; 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" From 32a32853ce914fd10770b463e8109e288047a211 Mon Sep 17 00:00:00 2001 From: Zajcev Evgeny Date: Tue, 14 Nov 2023 13:32:57 +0300 Subject: [PATCH 3/3] Typofix in the doc/lispref/modes.texi --- doc/lispref/modes.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 78e73359b6d..bcebcc31a96 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -2660,7 +2660,7 @@ display in pixels, by multiplying the value of this variable by the value returned by @code{frame-char-width} (@pxref{Frame Font}), and then use the result to align header-line text using the @code{:align-to} display property spec (@pxref{Specified Space}) in -pixels on the relevant parts of @code{header-line-frormat}. +pixels on the relevant parts of @code{header-line-format}. @end defvar @defun window-header-line-height &optional window