From c49a777a3668c96728fdf48e190c3c3a9de3d68c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 23 Sep 1994 17:29:55 +0000 Subject: [PATCH] (tags-table-check-computed-list): Call tags-verify-table on existing buffers. --- lisp/progmodes/etags.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index e39f706b429..1a5802c8214 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -223,7 +223,11 @@ file the tag was in." (while tables (setq computed (cons (car tables) computed) table-buffer (get-file-buffer (car tables))) - (if table-buffer + (if (and table-buffer + ;; There is a buffer visiting the file. Now make sure + ;; it is initialized as a tag table buffer. + (save-excursion + (tags-verify-table (buffer-file-name table-buffer)))) (save-excursion (set-buffer table-buffer) (if (tags-included-tables) -- 2.39.5