1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-21 07:30:50 -08:00
emacs/test/lisp/progmodes
Dmitry Gutov 13b59c690a Add 'project-relative' as value for 'xref-file-name-display'
* lisp/progmodes/xref.el (xref-file-name-display): Document new value.
(xref-location-group ((l xref-file-location))): Handle the new value.
(xref--project-root): Extract from the default method of
'xref-backend-references' so it can be used in above's new code.
Also fix an old bug in the "backward compat" branch.

* lisp/progmodes/xref.el (xref--project-root-memo): New variable.

* test/lisp/progmodes/xref-tests.el: Add test cases for the three
possible settings of 'xref-file-name-display'.

Co-authored-by: Tobias Rittweiler <trittweiler@gmail.com>
2020-12-30 13:48:55 +02:00
..
cperl-mode-resources perl-mode and cperl-mode: Recognize regex after "return" 2020-11-17 00:20:26 +01:00
flymake-resources
js-resources Convert manual js indent tests to unit tests 2020-10-18 02:28:22 +02:00
ruby-mode-resources ; Prefer https to http in more URLs 2020-10-24 20:23:27 +02:00
xref-resources Move some test data to follow our conventions 2020-10-23 16:29:46 +02:00
asm-mode-tests.el
autoconf-tests.el
bat-mode-tests.el
cc-mode-tests.el
compile-tests.el Make the 'cucumber' compilation pattern work without 'omake' 2020-11-27 16:17:19 +01:00
cperl-mode-tests.el CPerl-mode: don't treat <<>> as starting a here-doc 2020-12-16 16:31:02 +01:00
elisp-mode-tests.el
etags-tests.el
f90-tests.el
flymake-tests.el Revert commit 1f44a77672 for Flymake. 2020-10-25 10:59:11 +01:00
gdb-mi-tests.el Update gdb-mi-tests 2020-11-06 15:37:17 +01:00
glasses-tests.el
js-tests.el Strengthen js-mode indentation tests 2020-10-18 15:54:02 +02:00
opascal-tests.el
pascal-tests.el
perl-mode-tests.el Add tests for perl-mode.el 2020-10-22 18:23:49 +02:00
ps-mode-tests.el
python-tests.el Revert "Adjust python tests after fix for bug#39398" 2020-10-30 16:10:57 +01:00
ruby-mode-tests.el Use new resource directory macros in tests (Bug#43792) 2020-10-16 11:28:09 +02:00
scheme-tests.el
sql-tests.el
subword-tests.el
tcl-tests.el
xref-tests.el Add 'project-relative' as value for 'xref-file-name-display' 2020-12-30 13:48:55 +02:00