Don't pass NOVISIT to find-file

* lisp/progmodes/etags.el (next-file):
Don't pass NOVISIT to find-file (bug#21175).
This commit is contained in:
Dmitry Gutov 2015-08-01 14:40:14 +03:00
parent 4da09534ee
commit bdd370bb5b

View file

@ -1754,7 +1754,7 @@ if the file was newly read in, the value is the filename."
(with-current-buffer buffer
(revert-buffer t t)))
(if (not (and new novisit))
(find-file next novisit)
(find-file next)
;; Like find-file, but avoids random warning messages.
(switch-to-buffer (get-buffer-create " *next-file*"))
(kill-all-local-variables)