From 2d372c9b4e46b99a79d94a7714e97b2b180e2aaa Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 9 Feb 2025 15:56:35 +0100 Subject: [PATCH] ; Simplify last commit * lisp/mail/footnote.el (footnote-mode): Simplify last change. (cherry picked from commit 5c07fc7557ad9dd353f18a270042d9e844c85bef) --- lisp/mail/footnote.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el index 1e6265c79bf..8ce78505d20 100644 --- a/lisp/mail/footnote.el +++ b/lisp/mail/footnote.el @@ -895,9 +895,8 @@ play around with the following keys: (make-local-variable 'footnote-end-tag) (make-local-variable 'adaptive-fill-function) (setq-local sentence-end-base - (rx (or (regexp sentence-end-base) - (seq (regexp sentence-end-base) - "[" (+ digit) "]")))) + (rx (regexp sentence-end-base) + (? (seq "[" (+ digit) "]")))) ;; Filladapt is a GNU ELPA package. (when (boundp 'filladapt-token-table) -- 2.39.5