emacs-devel
[Top][All Lists]
Advanced

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

Re: New feature in project.el: Remembering the previously used projects


From: Dmitry Gutov
Subject: Re: New feature in project.el: Remembering the previously used projects
Date: Sun, 20 Dec 2020 00:18:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi all,

On 06.06.2020 04:24, Jamie Beardslee wrote:
"Philip K."<philip@warpmail.net>  writes:

An initial attempt attached below. It seems like everything works, the
only thing I wasn't sure about was execute-extended-command's "typed"
argument, since it seems to always be nil, when invoked interactivly?
I have no idea what's going on with that typed argument, but maybe it
would be more sensible to use `call-interactively' just in case?

(defun project-execute-extended-command ()
   "Execute an extended command in project root."
   (declare (interactive-only command-execute))
   (interactive)
   (let ((default-directory
          (project-root (project-current t))))
     (call-interactively #'execute-extended-command)))

Sorry for the, uh, delay.

I've pushed this now in 32e781b2. Thanks!



reply via email to

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