mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix etags-xref-find for references
* lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'. * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for directory if no tags tables are loaded (bug#19468).
This commit is contained in:
parent
3874b33a32
commit
3bfb6a0f12
2 changed files with 10 additions and 5 deletions
|
|
@ -650,7 +650,7 @@ It can be quoted, or be inside a quoted form."
|
|||
(if (string-prefix-p (car ref) (cadr ref))
|
||||
(setcdr ref (cddr ref))
|
||||
(setq ref (cdr ref))))
|
||||
(mapcan
|
||||
(cl-mapcan
|
||||
(lambda (dir)
|
||||
(and (file-exists-p dir)
|
||||
(xref-collect-references symbol dir)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue