From edc7140ab2326307341d4432118c7c75e1cbbf02 Mon Sep 17 00:00:00 2001 From: "Robert J. Chassell" Date: Fri, 4 Mar 2005 13:54:44 +0000 Subject: [PATCH] (texinfo-append-refill): Redefine the types of line to which @refill is not appended by replacing a search for `@refill\\|@bye' with `@refill\\|^[ \t]*@'. The intent is to solve both the `@end itemize@refill' bug and the unfilled long lines bug. (texinfmt-version): update number and date. --- lisp/textmodes/texinfmt.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 4664c633866..e478169c250 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el @@ -37,7 +37,7 @@ (defmacro defcustom (var value doc &rest ignore) `(defvar ,var ,value ,doc))) -(defvar texinfmt-version "2.40 of 6 Dec 2002") +(defvar texinfmt-version "2.41 of 1 Mar 2005") (defun texinfmt-version (&optional here) "Show the version of texinfmt.el in the minibuffer. @@ -637,7 +637,7 @@ Do not append @refill to paragraphs containing @w{TEXT} or @*." (forward-char 1) (unless (re-search-backward "@c[ \t\n]\\|@comment[ \t\n]" line-beg t) (forward-char -1)) - (unless (re-search-backward "@refill\\|@bye" line-beg t) + (unless (re-search-backward "@refill\\|^[ \t]*@" line-beg t) (insert "@refill"))) (forward-line 1)))))) -- 2.39.2