]> git.eshelyaron.com Git - emacs.git/commitdiff
(tags-table-check-computed-list): Call tags-verify-table on existing
authorRoland McGrath <roland@gnu.org>
Fri, 23 Sep 1994 17:29:55 +0000 (17:29 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 23 Sep 1994 17:29:55 +0000 (17:29 +0000)
buffers.

lisp/progmodes/etags.el

index e39f706b429e6fbcf9bec8856d2b0c5295a0d0c8..1a5802c8214ee03e59438d1128475b7a8ed78e14 100644 (file)
@@ -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)