Mercurial > hg > xemacs-beta
diff lisp/etags.el @ 377:d883f39b8495 r21-2b4
Import from CVS: tag r21-2b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:05:42 +0200 |
parents | a300bb07d72d |
children | 8626e4521993 |
line wrap: on
line diff
--- a/lisp/etags.el Mon Aug 13 11:04:53 2007 +0200 +++ b/lisp/etags.el Mon Aug 13 11:05:42 2007 +0200 @@ -554,7 +554,7 @@ arguments.") (defvar find-tag-hook nil - "Function to call after a tag is found. + "*Function to call after a tag is found. Make it buffer-local in a mode hook. The function is called with no arguments.") @@ -777,11 +777,11 @@ (push-mark) (goto-char tag-point) (if find-tag-hook - (funcall find-tag-hook) + (run-hooks 'find-tag-hook) (if local-find-tag-hook - (funcall local-find-tag-hook)))) + (run-hooks 'local-find-tag-hook)))) (setq tags-loop-scan (list 'find-tag nil nil) - tags-loop-operate nil) + tags-loop-operate nil) ;; Return t in case used as the tags-loop-scan. t)