emacs-devel
[Top][All Lists]
Advanced

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

Re: master ef732bd2083: ; * lisp/progmodes/project.el (project-any-comma


From: Dmitry Gutov
Subject: Re: master ef732bd2083: ; * lisp/progmodes/project.el (project-any-command): Fix last change
Date: Sun, 10 Dec 2023 04:59:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 09/12/2023 00:37, Sean Whitton wrote:
branch: master
commit ef732bd2083c5f28c37dc52a6f96923eed2f5aa8
Author: Sean Whitton<spwhitton@spwhitton.name>
Commit: Sean Whitton<spwhitton@spwhitton.name>

     ; * lisp/progmodes/project.el (project-any-command): Fix last change
---
  lisp/progmodes/project.el | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 7789243cb00..cc473a12baf 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -1862,7 +1862,7 @@ which will take priority over the global ones."
      (when command
        (if (when (symbolp command)
              (or (string-prefix-p "project-" (symbol-name command))
-                (get command 'project-command)))
+                (get command 'project-related)))
            (let ((project-current-directory-override root))
              (call-interactively command))
          (let ((default-directory root))

It was definitely a typo somewhere, though maybe in the docstring.

Speaking of names, perhaps the property name 'project-aware' might suit the situation better than either of the above options.



reply via email to

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