summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/texinfmt.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index d9cfffb3fd6..69967c5ba12 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -1916,9 +1916,9 @@ Default is to leave paragraph indentation as is."
;; are used to underline it. This could occur if the line following
;; the underlining is not an index entry and has text within it.
(let* ((previous-paragraph-separate paragraph-separate)
- (paragraph-separate (concat paragraph-separate "\\|^[-=*.]+"))
+ (paragraph-separate (concat paragraph-separate "\\|[-=*.]+"))
(previous-paragraph-start paragraph-start)
- (paragraph-start (concat paragraph-start "\\|^[-=*.]+")))
+ (paragraph-start (concat paragraph-start "\\|[-=*.]+")))
(unwind-protect
(fill-paragraph nil)
(setq paragraph-separate previous-paragraph-separate)