diff options
-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) |