aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-15 04:37:26 +0000
committerRichard M. Stallman1994-06-15 04:37:26 +0000
commitc5507689baf13c5ca0ba9cc5d13e6b031d5ff5dc (patch)
tree888b1049273c5277c7202884e2bacd95d413b87e
parent69037d5a1c5c2e146de270b926d89fc72de601f7 (diff)
downloademacs-c5507689baf13c5ca0ba9cc5d13e6b031d5ff5dc.tar.gz
emacs-c5507689baf13c5ca0ba9cc5d13e6b031d5ff5dc.zip
(find-tag-history): New variable.
(find-tag-noselect): Set that variable.
-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))