]> code.delx.au - gnu-emacs/commitdiff
Don't pass NOVISIT to find-file
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 1 Aug 2015 11:40:14 +0000 (14:40 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 1 Aug 2015 11:40:55 +0000 (14:40 +0300)
* lisp/progmodes/etags.el (next-file):
Don't pass NOVISIT to find-file (bug#21175).

lisp/progmodes/etags.el

index 04c3ce110f7661a33bfacb65618acf540c3d57ab..23f9370767961a2dc3568e78641083e138e74e08 100644 (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)