aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>1994-09-23 17:29:55 +0000
committerRoland McGrath <[email protected]>1994-09-23 17:29:55 +0000
commitc49a777a3668c96728fdf48e190c3c3a9de3d68c (patch)
treecf245923599736cdb18c21da4af5fe220d9ec01a /lisp
parent2687aeb390711c231f17ce5c4c4f40a5b33180ff (diff)
(tags-table-check-computed-list): Call tags-verify-table on existing
buffers.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/etags.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index e39f706b42..1a5802c821 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)