]> git.eshelyaron.com Git - emacs.git/commitdiff
(initialize-new-tags-table):
authorRichard M. Stallman <rms@gnu.org>
Wed, 28 Oct 1998 00:04:28 +0000 (00:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 28 Oct 1998 00:04:28 +0000 (00:04 +0000)
Do not alter find-tag-marker-ring and tags-location-ring.

lisp/progmodes/etags.el

index 816fc2054fabfe1ad0121413cdc028d94d18fe35..8f2d2006733a9b52175a4afe4402ae0c319b3a6b 100644 (file)
@@ -190,8 +190,10 @@ One argument, the tag info returned by `snarf-tag-function'.")
   (set (make-local-variable 'tags-table-files) nil)
   (set (make-local-variable 'tags-completion-table) nil)
   (set (make-local-variable 'tags-included-tables) nil)
-  (setq find-tag-marker-ring (make-ring find-tag-marker-ring-length))
-  (setq tags-location-ring (make-ring find-tag-marker-ring-length))
+  ;; We used to initialize find-tag-marker-ring and tags-location-ring
+  ;; here, to new empty rings.  But that is wrong, because those
+  ;; are global.
+
   ;; Value is t if we have found a valid tags table buffer.
   (let ((hooks tags-table-format-hooks))
     (while (and hooks