Commit edc7140a authored by Robert J. Chassell's avatar Robert J. Chassell

(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.
parent 518d3637
......@@ -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))))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment