# HG changeset patch # User Kenichi Handa # Date 920852776 0 # Node ID 3b8991c22dcdc627c3462977a9192dc87ea61508 # Parent 3f25405e6e70ece7f978ead59fe05c32a832f1d6 (texinfo-append-refill): Check @c correctly. diff -r 3f25405e6e70 -r 3b8991c22dcd lisp/textmodes/texinfmt.el --- a/lisp/textmodes/texinfmt.el Sun Mar 07 17:10:24 1999 +0000 +++ b/lisp/textmodes/texinfmt.el Mon Mar 08 00:26:16 1999 +0000 @@ -623,7 +623,9 @@ (delete-region (point) (save-excursion (skip-chars-backward " \t") (point))) - (search-backward "@c" line-beg t) + (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) (insert "@refill"))) (forward-line 1))))))