=== modified file 'doc/emacs/maintaining.texi' --- doc/emacs/maintaining.texi 2011-02-05 06:13:36 +0000 +++ doc/emacs/maintaining.texi 2011-04-11 15:36:35 +0000 @@ -1619,7 +1619,7 @@ * Select Tags Table:: How to visit a tags table. * Find Tag:: Commands to find the definition of a specific tag. * Tags Search:: Using a tags table for searching and replacing. -* List Tags:: Listing and finding tags defined in a file. +* List Tags:: Finding tags and files listed in a tags table. @end menu @node Tag Syntax @@ -2307,6 +2307,19 @@ You can also use the collection of tag names to complete a symbol name in the buffer. @xref{Symbol Completion}. +If you wish to process all the files in the selected tags table, but +not in the specific ways that @kbd{M-x tags-search} and @kbd{M-x +tags-query-replace} do, you can use @kbd{M-x next-file} to visit the files +one by one. + +@table @kbd +@item C-u M-x next-file +Visit the first file in the tags table, and prepare to advance +sequentially by files. +@item M-x next-file +Visit the next file in the selected tags table. +@end table + @node EDE @section Emacs Development Environment @cindex EDE (Emacs Development Environment) === modified file 'lisp/progmodes/etags.el' --- lisp/progmodes/etags.el 2011-01-02 23:50:46 +0000 +++ lisp/progmodes/etags.el 2011-04-11 15:27:25 +0000 @@ -1733,9 +1733,9 @@ (with-current-buffer buffer (revert-buffer t t))) (if (not (and new novisit)) - (set-buffer (find-file-noselect next novisit)) + (switch-to-buffer (find-file-noselect next novisit)) ;; Like find-file, but avoids random warning messages. - (set-buffer (get-buffer-create " *next-file*")) + (seitch-to-buffer (get-buffer-create " *next-file*")) (kill-all-local-variables) (erase-buffer) (setq new next)