all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: emacs-devel@gnu.org, Sean Whitton <spwhitton@spwhitton.name>
Subject: Re: master ef732bd2083: ; * lisp/progmodes/project.el (project-any-command): Fix last change
Date: Sun, 10 Dec 2023 04:59:07 +0200	[thread overview]
Message-ID: <7931418c-fb6e-4ffa-f657-3cb2169c7dcb@gutov.dev> (raw)
In-Reply-To: <20231208223728.B5347C0C6AB@vcs2.savannah.gnu.org>

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	other threads:[~2023-12-10  2:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <170207504844.3728.8521907427206698810@vcs2.savannah.gnu.org>
     [not found] ` <20231208223728.B5347C0C6AB@vcs2.savannah.gnu.org>
2023-12-10  2:59   ` Dmitry Gutov [this message]
2023-12-10 16:00     ` master ef732bd2083: ; * lisp/progmodes/project.el (project-any-command): Fix last change Sean Whitton
2023-12-11  1:39       ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7931418c-fb6e-4ffa-f657-3cb2169c7dcb@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=emacs-devel@gnu.org \
    --cc=spwhitton@spwhitton.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.