diff options
author | John Ankarström <john@ankarstrom.se> | 2022-06-12 19:56:38 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-06-12 19:56:38 +0200 |
commit | 47fc14590e0c3eb159b2f679c540844b414e0874 (patch) | |
tree | be6443b952b74c17f80e44b5787a47351c0c2b0b /xroff.el | |
parent | 92e817ce5417406006701f0c7060f8c692148fe6 (diff) | |
download | lightroff-47fc14590e0c3eb159b2f679c540844b414e0874.tar.gz |
Fix paragraph-start, paragraph-separate.
Diffstat (limited to 'xroff.el')
-rw-r--r-- | xroff.el | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -26,9 +26,8 @@ ;; A start or end tag by itself on a line separates a paragraph. ;; This is desirable because SGML discards a newline that appears ;; immediately after a start tag or immediately before an end tag. - (setq-local paragraph-start (concat "[ \t]*$\\|\ -\[ \t]*</?\\(" sgml-name-re sgml-attrs-re "\\)?>")) - (setq-local paragraph-separate (concat paragraph-start "$")) + (setq-local paragraph-start "<\\([^>]\\)+>") + (setq-local paragraph-separate "$\\|\\]>") (setq-local adaptive-fill-regexp "[ \t]*") (add-hook 'fill-nobreak-predicate 'sgml-fill-nobreak nil t) (setq-local indent-line-function 'sgml-indent-line) |