+2001-01-15 Gerd Moellmann <gerd@gnu.org>
+
+ * progmodes/etags.el (find-tag-noselect): Save the value of
+ tags-file-name before switching buffers, for the case it has a
+ buffer-local value.
+
2001-01-15 Alex Schroeder <alex@gnu.org>
* ansi-color.el (ansi-colors) <defgroup>: Fix :version by Dave
(interactive (find-tag-interactive "Find tag: "))
(setq find-tag-history (cons tagname find-tag-history))
- ;; Save the current buffer's value of `find-tag-hook' before selecting the
- ;; tags table buffer.
- (let ((local-find-tag-hook find-tag-hook))
+ ;; Save the current buffer's value of `find-tag-hook' before
+ ;; selecting the tags table buffer. For the same reason, save value
+ ;; of `tags-file-name' in case it has a buffer-local value.
+ (let ((local-find-tag-hook find-tag-hook)
+ (tags-file-name tags-file-name))
(if (eq '- next-p)
;; Pop back to a previous location.
(if (ring-empty-p tags-location-ring)