1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
emacs/test
Stephen Leake 0382fd42c6 xref-find-definitions: Exclude more generic function items.
* lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): Add doc string.
(cl--generic-find-defgeneric-regexp): New.
(find-function-regexp-alist): Add it.

* lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
elisp-mode.el, change to search for ";;; Code:"
(find-alias-regexp): Move here from elisp-mode.el, cleaned up.
(find-function-regexp-alist): Add them.

* lisp/progmodes/elisp-mode.el:
(elisp--xref-format, elisp--xref-format-extra): Change back to defvar due
to bug#21237.
(elisp--xref-find-definitions): Exclude co-located default methods for
generic functions. Also exclude implicitly declared defgeneric.
(elisp--xref-find-definitions): Handle C source properly. Exclude minor
mode variables defined by 'define-minor-mode'.

* test/automated/elisp-mode-tests.el: Declare generic functions, add
tests for them.
(xref-elisp-test-run): Fix bug.
(emacs-test-dir): Improve initial value.
(find-defs-defun-defvar-el): Don't expect defvar.
(find-defs-feature-el): Match change to find-feature-regexp.
2015-08-13 13:16:47 -05:00
..
automated xref-find-definitions: Exclude more generic function items. 2015-08-13 13:16:47 -05:00
cedet Spelling fixes 2015-02-21 20:01:05 -08:00
etags Add etags test for the new -Q option 2015-05-30 15:01:49 +03:00
indent * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/ 2015-06-15 17:10:06 -04:00
BidiCharacterTest.txt Update data files from just-released Unicode 8.0 2015-06-18 11:14:13 +03:00
biditest.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.1 ; Convert ChangeLog history files to "Bug#NNNN" 2015-04-18 19:48:24 -07:00
README Mention etc/compilation.txt 2009-07-26 15:59:37 +00:00
redisplay-testsuite.el ; Remove accidentally duplicated redisplay test. 2015-08-08 18:54:10 +03:00
rmailmm.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00

This directory contains files intended to test various aspects of
Emacs's functionality.  Please help add tests!

(Also, see etc/compilation.txt for compilation mode font lock tests.)