mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
Retain compatibility with older project.el projects
* lisp/progmodes/xref.el (xref--analyze): Retain compatibility with older project.el and its compatible project definitions (for standalone Xref from ELPA).
This commit is contained in:
parent
d86b2e59c7
commit
ad2287e659
@ -1025,7 +1025,7 @@ Return an alist of the form ((GROUP . (XREF ...)) ...)."
|
||||
(eq xref-file-name-display 'project-relative)
|
||||
(project-current)))
|
||||
(project-root (and project
|
||||
(expand-file-name (project-root project)))))
|
||||
(expand-file-name (xref--project-root project)))))
|
||||
(mapcar
|
||||
(lambda (pair)
|
||||
(cons (xref--group-name-for-display (car pair) project-root)
|
||||
|
Loading…
Reference in New Issue
Block a user