1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

* lisp/progmodes/etags.el (etags-list-tags): Only use tags which goto-func

understands.

Fixes: debbugs:9942
This commit is contained in:
Liang Wang 2012-03-22 10:46:05 -04:00 committed by Stefan Monnier
parent 64fee3118a
commit 126f3d39bb
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
* progmodes/etags.el (etags-list-tags): Only use tags which goto-func
understands (bug#9942).
2012-03-22 Chong Yidong <cyd@gnu.org>
* simple.el (end-of-visible-line): Handle return value of

View File

@ -1410,7 +1410,9 @@ hits the start of file."
tag tag-info pt)
(forward-line 1)
(while (not (or (eobp) (looking-at "\f")))
(setq tag-info (save-excursion (funcall snarf-tag-function t))
;; We used to use explicit tags when available, but the current goto-func
;; can only handle implicit tags.
(setq tag-info (save-excursion (funcall snarf-tag-function nil))
tag (car tag-info)
pt (with-current-buffer standard-output (point)))
(princ tag)