bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54359: 29.0.50; [PATCH] Undo breaking change to project interface


From: Rudolf Adamkovič
Subject: bug#54359: 29.0.50; [PATCH] Undo breaking change to project interface
Date: Mon, 14 Mar 2022 20:35:36 +0100

Eli Zaretskii <eliz@gnu.org> writes:

> [...], what did the offending commit break, how to reproduce the
> breakage, and why the best solution is to revert that commit?

I did not post the patch, but I too noticed the breakage when I could
not open a project at work out of sudden.  I had to change my
configuration file as follows:

 (defun my/project-try-local (dir)
   "Find projects marked with a '.project' stamp file."
   (let ((project-dir (locate-dominating-file dir ".project")))
-    (if project-dir (cons 'vc project-dir) nil)))
+    (if project-dir `(vc Git ,project-dir) nil)))
 
 (add-hook 'project-find-functions #'my/project-try-local)

Rudy
-- 
"Thinking is a momentary dismissal of irrelevancies."
-- Richard Buckminster Fuller, 1969

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia





reply via email to

[Prev in Thread] Current Thread [Next in Thread]