emacs-diffs
[Top][All Lists]
Advanced

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

master 21f9be00531: (project-current): Fix the previous change


From: Dmitry Gutov
Subject: master 21f9be00531: (project-current): Fix the previous change
Date: Thu, 4 Apr 2024 20:30:02 -0400 (EDT)

branch: master
commit 21f9be005318dcc58918884fc3c24d7d75562e96
Author: Spencer Baugh <sbaugh@janestreet.com>
Commit: Dmitry Gutov <dmitry@gutov.dev>

    (project-current): Fix the previous change
    
    * lisp/progmodes/project.el (project-current):
    Fix the previous change (bug#69584).
---
 lisp/progmodes/project.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index a10e24f3e28..da211566a3b 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -229,8 +229,8 @@ See the doc string of `project-find-functions' for the 
general form
 of the project instance object."
   (unless directory (setq directory (or project-current-directory-override
                                         default-directory)))
-  (let ((pr (project--find-in-directory directory))
-        (non-essential (not maybe-prompt)))
+  (let* ((non-essential (not maybe-prompt))
+         (pr (project--find-in-directory directory)))
     (cond
      (pr)
      ((unless project-current-directory-override



reply via email to

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