1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(visit-tags-table-buffer): Beware of `t' in

tags-table-list.
This commit is contained in:
Dave Love 2000-11-12 00:33:19 +00:00
parent f86f6d1ea5
commit 84d51f9bb5

View file

@ -634,9 +634,11 @@ Returns t if it visits a tags table, or nil if there are no more in the list."
tags-table-set-list)))
;; Clear out buffers holding old tables.
(dolist (table tags-table-list)
(let ((buffer (find-buffer-visiting table)))
;; The list can contain items `t'.
(if (stringp table)
(let ((buffer (find-buffer-visiting table)))
(if buffer
(kill-buffer buffer))))
(kill-buffer buffer)))))
(setq tags-table-list (list local-tags-file-name))))
;; Recompute tags-table-computed-list.