changeset 9020:857ced7767c0

(tags-table-check-computed-list): Call tags-verify-table on existing buffers.
author Roland McGrath <roland@gnu.org>
date Fri, 23 Sep 1994 17:29:55 +0000
parents d68b305849ad
children e0709ca0418a
files lisp/progmodes/etags.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/etags.el	Fri Sep 23 06:55:48 1994 +0000
+++ b/lisp/progmodes/etags.el	Fri Sep 23 17:29:55 1994 +0000
@@ -223,7 +223,11 @@
 	  (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)