# HG changeset patch # User Robert J. Chassell # Date 1109944484 0 # Node ID f46823f3408c2c8d6da9d4b970b41704d4cc30fa # Parent 49e4e175b817b857444bda3ca83b94e5cdf4e57f (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. diff -r 49e4e175b817 -r f46823f3408c lisp/textmodes/texinfmt.el --- a/lisp/textmodes/texinfmt.el Fri Mar 04 13:44:58 2005 +0000 +++ b/lisp/textmodes/texinfmt.el Fri Mar 04 13:54:44 2005 +0000 @@ -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 @@ (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))))))