; Simplify last commit

* lisp/mail/footnote.el (footnote-mode): Simplify last change.
This commit is contained in:
Stefan Kangas 2025-02-09 15:56:35 +01:00
parent 64905eba27
commit 5c07fc7557

View file

@ -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)