aboutsummaryrefslogtreecommitdiff
path: root/xroff.el
diff options
context:
space:
mode:
Diffstat (limited to 'xroff.el')
-rw-r--r--xroff.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/xroff.el b/xroff.el
index 8c3ecc2..48ba533 100644
--- a/xroff.el
+++ b/xroff.el
@@ -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)