Edit comments

This commit is contained in:
Gerard Vermeulen 2022-09-04 12:55:44 +02:00
parent 9cb89449bd
commit 363e02cd0f

View File

@ -2264,8 +2264,8 @@ configuration.
#'engrave-faces-latex--protect-content-mathescape
#'engrave-faces-latex--protect-content)
content)))
;; Wrap "words separated by blank characters" groups in LaTeX commands.
;; Do not wrap newlines and other whitespace separating those groups.
;; Wrap groups of "words joined by blank characters" in LaTeX commands.
;; Do not wrap newlines and other whitespace between those groups.
(let ((regexp (rx (or (group-n 1 (+ graph ) (* (+ blank) (+ graph)))
(group-n 2 (+ (any "\n" space))))))
(slug (when (and style