* test/lisp/progmodes/elisp-mode-tests.el (find-defsdefun-c-defvar-c,
find-defs-defun-el-defvar-c): Call `elisp--xref-find-definitions'.
;; FIXME: deftype
(xref-elisp-deftest find-defs-defun-c-defvar-c
- (elisp-xref-find 'definitions "system-name")
+ (elisp--xref-find-definitions 'system-name)
(list
(xref-make "(defvar system-name)"
(xref-make-elisp-location 'system-name 'defvar "src/editfns.c"))
)
(xref-elisp-deftest find-defs-defun-el-defvar-c
- (elisp-xref-find 'definitions "abbrev-mode")
+ (elisp--xref-find-definitions 'abbrev-mode)
;; It's a minor mode, but the variable is defined in buffer.c
(list
(xref-make "(defvar abbrev-mode)"