|
From: | Juri Linkov |
Subject: | bug#54359: 29.0.50; [PATCH] Undo breaking change to project interface |
Date: | Sat, 19 Mar 2022 20:57:12 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> There is no bug. > > I noticed all emacs developers, myself included, say this about their > own code. > > It's fine. Of the four people in the world using project.el, I suspect > only half of them rely on `(cdr (project-current))` being an atom > instead of a list. I'm the fifth user of project.el and after that change just quietly replaced in my code - (let ((project (cdr (project-current nil directory)))) - (when project with more correct code that doesn't rely on internal data structure + (let* ((project (project-current nil directory)) + (root (when project (project-root project))))
[Prev in Thread] | Current Thread | [Next in Thread] |