aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/etags.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 6b93fff4822..468671a8480 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -710,6 +710,8 @@ Assumes the tags table is the current buffer."
710 (read-string prompt) 710 (read-string prompt)
711 (find-tag-tag prompt))))) 711 (find-tag-tag prompt)))))
712 712
713(defvar find-tag-history nil)
714
713;;;###autoload 715;;;###autoload
714(defun find-tag-noselect (tagname &optional next-p regexp-p) 716(defun find-tag-noselect (tagname &optional next-p regexp-p)
715 "Find tag (in current tags table) whose name contains TAGNAME. 717 "Find tag (in current tags table) whose name contains TAGNAME.
@@ -728,6 +730,7 @@ If third arg REGEXP-P is non-nil, treat TAGNAME as a regexp.
728See documentation of variable `tags-file-name'." 730See documentation of variable `tags-file-name'."
729 (interactive (find-tag-interactive "Find tag: ")) 731 (interactive (find-tag-interactive "Find tag: "))
730 732
733 (setq find-tag-history (cons tagname find-tag-history))
731 ;; Save the current buffer's value of `find-tag-hook' before selecting the 734 ;; Save the current buffer's value of `find-tag-hook' before selecting the
732 ;; tags table buffer. 735 ;; tags table buffer.
733 (let ((local-find-tag-hook find-tag-hook)) 736 (let ((local-find-tag-hook find-tag-hook))