aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1992-12-21 19:13:11 +0000
committerRoland McGrath1992-12-21 19:13:11 +0000
commit4d997d08f1b6baacabf944dc03dcc38f2ffe3a3b (patch)
treea0c91f15632946f577991b8cf5f0ce683ef85683
parentb6176f6493b475bb44fa39bb812f47cf1df5c617 (diff)
downloademacs-4d997d08f1b6baacabf944dc03dcc38f2ffe3a3b.tar.gz
emacs-4d997d08f1b6baacabf944dc03dcc38f2ffe3a3b.zip
(visit-tags-table-buffer): Don't look in list for tags-file-name if nil.
-rw-r--r--lisp/progmodes/etags.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 8ffa931592b..04932d29c4e 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -365,7 +365,8 @@ Returns t if it visits a tags table, or nil if there are no more in the list."
365 tags-table-list))) 365 tags-table-list)))
366 ;; Fourth, use the user variable tags-file-name, if it is not 366 ;; Fourth, use the user variable tags-file-name, if it is not
367 ;; already in tags-table-list. 367 ;; already in tags-table-list.
368 (and (not (tags-table-list-member tags-file-name)) 368 (and tags-file-name
369 (not (tags-table-list-member tags-file-name))
369 tags-file-name) 370 tags-file-name)
370 ;; Fifth, use the user variable giving the table list. 371 ;; Fifth, use the user variable giving the table list.
371 (car tags-table-list) 372 (car tags-table-list)