* lisp/progmodes/xref.el (xref--analyze):
Retain compatibility with older project.el and its compatible
project definitions (for standalone Xref from ELPA).
(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)