Fix project-name for vc-aware backend in non-file buffers
* lisp/progmodes/project.el (project-name): Make sure project-vc-name is picked up from dir-locals in all non-file-visiting buffers too (mentioned in bug#63469).
This commit is contained in:
parent
17c7915ab9
commit
753f8aa1f1
1 changed files with 2 additions and 2 deletions
|
@ -805,8 +805,8 @@ DIRS must contain directory names."
|
||||||
(push buf bufs)))
|
(push buf bufs)))
|
||||||
(nreverse bufs)))
|
(nreverse bufs)))
|
||||||
|
|
||||||
(cl-defmethod project-name ((_project (head vc)))
|
(cl-defmethod project-name ((project (head vc)))
|
||||||
(or project-vc-name
|
(or (project--value-in-dir 'project-vc-name (project-root project))
|
||||||
(cl-call-next-method)))
|
(cl-call-next-method)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue