bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#41858: 28.0.50; [PATCH]: Make project-shell use universal argument


From: Eli Zaretskii
Subject: bug#41858: 28.0.50; [PATCH]: Make project-shell use universal argument
Date: Thu, 18 Jun 2020 16:28:51 +0300

> Date: Thu, 18 Jun 2020 09:57:55 +0000
> From: Theodor Thornhill <theo@thornhill.no>
> Cc: 41858@debbugs.gnu.org, Dmitry Gutov <dgutov@yandex.ru>
> 
> Change default behaviour of 'project-shell'
> 
> * lisp/progmodes/project.el (project-shell):   If a shell already is open, 
> pop to that buffer. Otherwise, or if universal argument is used, open a 
> subsequent shell buffer and jump to it.

Please always mention the bug number, if there is any, in the commit
log message.  A reference to a bug makes it easy to find discussions
relevant to a change, which is very important when one needs to
understand better the rationale for a change.

Also, please format the log message according to our conventions, as
described in CONTRIBUTE.

TIA.

>  (defun project-shell ()
> -  "Open Shell in the current project."
> +  "Open Shell in the current project.

This doesn't say enough about what the command does.  How about

  Start an inferior shell in the current project's root directory.





reply via email to

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