]> git.eshelyaron.com Git - emacs.git/commit
elisp-xref-find: Don't create buffers eagerly
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 27 Dec 2014 14:06:37 +0000 (16:06 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 27 Dec 2014 14:07:31 +0000 (16:07 +0200)
commit6d14e0d361cfb3589874fe1b559e30b4fd3eb284
treed358b0ef77e8e814113d274df1596c2489634d70
parent09d2e8477aa64308447395a0f01cfe5414619811
elisp-xref-find: Don't create buffers eagerly

* lisp/emacs-lisp/find-func.el (find-function-library): New function,
extracted from `find-function-noselect'.

* lisp/progmodes/elisp-mode.el (elisp--identifier-location): Fold back
into `elisp--company-location'.
(elisp--identifier-completion-table): Rename to
`elisp--identifier-completion-table', and do not include just any
symbols with a property list.
(elisp-completion-at-point): Revert the 2014-12-25 change.
(elisp--xref-identifier-file): New function.
(elisp--xref-find-definitions): Use it.

* lisp/progmodes/xref.el (xref-elisp-location): New class.
(xref-make-elisp-location): New function.
(xref-location-marker): New implementation.
lisp/ChangeLog
lisp/emacs-lisp/find-func.el
lisp/progmodes/elisp-mode.el
lisp/progmodes/xref.el