emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6eba633: Fix test find-defs-defgeneric-el


From: Dmitry Gutov
Subject: master 6eba633: Fix test find-defs-defgeneric-el
Date: Fri, 10 Sep 2021 11:43:03 -0400 (EDT)

branch: master
commit 6eba633eadc4228f2b132cea257f1b32691fd6b2
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Fix test find-defs-defgeneric-el
    
    * test/lisp/progmodes/elisp-mode-tests.el (find-defs-defgeneric-el):
    Fix the test.  Reported by dick.r.chiang@gmail.com.
---
 test/lisp/progmodes/elisp-mode-tests.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/lisp/progmodes/elisp-mode-tests.el 
b/test/lisp/progmodes/elisp-mode-tests.el
index f47d54e..2745aff 100644
--- a/test/lisp/progmodes/elisp-mode-tests.el
+++ b/test/lisp/progmodes/elisp-mode-tests.el
@@ -604,6 +604,12 @@ to (xref-elisp-test-descr-to-target xref)."
                 'xref-location-marker nil '(xref-etags-location))
                'cl-defmethod
                (expand-file-name "../../../lisp/progmodes/etags.el" 
emacs-test-dir)))
+   (xref-make "(cl-defmethod xref-location-marker ((l 
xref-etags-apropos-location)))"
+              (xref-make-elisp-location
+               (cl--generic-load-hist-format
+                'xref-location-marker nil '(xref-etags-apropos-location))
+               'cl-defmethod
+               (expand-file-name "../../../lisp/progmodes/etags.el" 
emacs-test-dir)))
    ))
 
 (xref-elisp-deftest find-defs-defgeneric-eval



reply via email to

[Prev in Thread] Current Thread [Next in Thread]