(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.
This commit is contained in:
Robert J. Chassell 2005-03-04 13:54:44 +00:00
parent 518d363770
commit edc7140ab2

View file

@ -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))))))