diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2021-10-01 00:02:21 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2021-10-01 00:02:21 +0300 |
commit | 86da812afb2572c7fead2bb07570b976bffd7c55 (patch) | |
tree | 86af033eb09c8d524d8378f710c55734ee561625 /lisp/emacs-lisp/easy-mmode.el | |
parent | 5c73dfcbcb12d107dfdad335328b7c258bdd64c8 (diff) | |
download | emacs-86da812afb2572c7fead2bb07570b976bffd7c55.tar.gz emacs-86da812afb2572c7fead2bb07570b976bffd7c55.tar.bz2 emacs-86da812afb2572c7fead2bb07570b976bffd7c55.zip |
Migrate Xref off EIEIO
To improve performance and flexibility (bug#50777).
* lisp/progmodes/xref.el (xref-location): Remove.
(xref-file-location): Change to cl-struct.
(xref-buffer-location, xref-bogus-location): Ditto.
(xref-item, xref-match-item): Same.
And update all method definitions accordingly.
(xref--insert-xrefs): Don't use 'oref', use 'xref-item-location'.
(xref--insert-xrefs, xref-show-definitions-completing-read):
Insetad of 'with-slots', use 'xref-item-summary' and
'xref-item-location'.
* lisp/progmodes/etags.el (xref-etags-location):
Change from EIEIO class into a cl-struct.
(xref-etags-apropos-location): Ditto.
Update all method definitions.
* test/lisp/progmodes/elisp-mode-tests.el (xref-elisp-test-run):
Avoid using 'oref'.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
0 files changed, 0 insertions, 0 deletions