1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-28 01:00:52 -07:00

(texinfo-append-refill): Check @c correctly.

This commit is contained in:
Kenichi Handa 1999-03-08 00:26:16 +00:00
parent 46ccfd36bb
commit ec81e97abc

View file

@ -623,7 +623,9 @@ Do not append @refill to paragraphs containing @w{TEXT} or @*."
(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))))))