; * eldoc-box.el (eldoc-box--condense-large-newline-gaps): Minor fix.
This commit is contained in:
parent
bcf2d5a952
commit
eec688c1fc
@ -672,8 +672,10 @@ height."
|
|||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(while (re-search-forward
|
(while (re-search-forward
|
||||||
(rx (>= 2 (or "\n" (seq "```" (+ (syntax word))) "<br>"
|
(rx (>= 2 (or "\n"
|
||||||
(seq bol (+ (or " " "\t" " ")) eol))))
|
(seq bol "```" (* (syntax word)) "\n")
|
||||||
|
(seq bol "<br>" "\n")
|
||||||
|
(seq bol (+ (or " " "\t" " ")) "\n"))))
|
||||||
nil t)
|
nil t)
|
||||||
(if (or (eq (match-beginning 0) (point-min))
|
(if (or (eq (match-beginning 0) (point-min))
|
||||||
(eq (match-end 0) (point-max)))
|
(eq (match-end 0) (point-max)))
|
||||||
|
Loading…
Reference in New Issue
Block a user