Improve filling with footnote-mode
* lisp/mail/footnote.el (footnote-mode): Add regexp for footnotes to sentence-end-base to improve filling.
This commit is contained in:
parent
35fa712690
commit
64905eba27
1 changed files with 4 additions and 0 deletions
|
@ -894,6 +894,10 @@ play around with the following keys:
|
|||
(make-local-variable 'footnote-start-tag)
|
||||
(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) "]"))))
|
||||
|
||||
;; Filladapt is a GNU ELPA package.
|
||||
(when (boundp 'filladapt-token-table)
|
||||
|
|
Loading…
Add table
Reference in a new issue