From: Phillip Lord Date: Fri, 27 Nov 2015 10:27:36 +0000 (+0000) Subject: Move elisp-mode-tests to new function names. X-Git-Tag: emacs-26.0.90~2925 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd12d933d803ce547d59eba7b6f1900594c1426e;p=emacs.git Move elisp-mode-tests to new function names. * test/lisp/progmodes/elisp-mode-tests.el (find-defsdefun-c-defvar-c, find-defs-defun-el-defvar-c): Call `elisp--xref-find-definitions'. --- diff --git a/test/lisp/progmodes/elisp-mode-tests.el b/test/lisp/progmodes/elisp-mode-tests.el index c910b59860c..97f86a969aa 100644 --- a/test/lisp/progmodes/elisp-mode-tests.el +++ b/test/lisp/progmodes/elisp-mode-tests.el @@ -543,7 +543,7 @@ to (xref-elisp-test-descr-to-target xref)." ;; 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")) @@ -552,7 +552,7 @@ to (xref-elisp-test-descr-to-target xref)." ) (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)"