Mercurial > emacs
changeset 9178:0facf5c89fff
(texinfo-format-region, texinfo-format-buffer-1):
Search back for the @include.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 29 Sep 1994 18:51:54 +0000 |
parents | 5c7bf3247185 |
children | c8ef8dc59108 |
files | lisp/textmodes/texinfmt.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/texinfmt.el Thu Sep 29 12:42:45 1994 +0000 +++ b/lisp/textmodes/texinfmt.el Thu Sep 29 18:51:54 1994 +0000 @@ -202,7 +202,7 @@ (setq texinfo-command-end (point)) (let ((filename (concat input-directory (texinfo-parse-line-arg)))) - (beginning-of-line) + (re-search-backward "^@include") (delete-region (point) (save-excursion (forward-line 1) (point))) (message "Reading included file: %s" filename) (save-excursion @@ -327,7 +327,7 @@ (setq texinfo-command-end (point)) (let ((filename (concat input-directory (texinfo-parse-line-arg)))) - (beginning-of-line) + (re-search-backward "^@include") (delete-region (point) (save-excursion (forward-line 1) (point))) (message "Reading included file: %s" filename) (save-excursion