emacs-diffs
[Top][All Lists]
Advanced

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

master a1b487e 2/2: ; project-shell, project-eshell: Docstring tweaks


From: Dmitry Gutov
Subject: master a1b487e 2/2: ; project-shell, project-eshell: Docstring tweaks
Date: Sat, 20 Jun 2020 21:20:03 -0400 (EDT)

branch: master
commit a1b487eac0ec10059eb2b8c5e7efc9eec1342148
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    ; project-shell, project-eshell: Docstring tweaks
---
 lisp/progmodes/project.el | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 3a9e8bc..74495cf 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -716,9 +716,10 @@ PREDICATE, HIST, and DEFAULT have the same meaning as in
 ;;;###autoload
 (defun project-shell ()
   "Start an inferior shell in the current project's root directory.
-With \\[universal-argument] prefix, create subsequent shell
-buffers with uniquified names.  If several Shell buffers exists,
-this command jumps to the first created such buffer."
+If such buffer already exists (one or several), switch to the one
+that was created first.
+With \\[universal-argument] prefix, create a new inferior shell
+buffer with uniquified name."
   (interactive)
   (let* ((default-directory (project-root (project-current t)))
          (default-project-shell-name
@@ -734,9 +735,10 @@ this command jumps to the first created such buffer."
 ;;;###autoload
 (defun project-eshell ()
   "Start Eshell in the current project's root directory.
-With \\[universal-argument] prefix, create subsequent shell
-buffers with uniquified names.  If several Eshell buffers exists,
-this command jumps to the first created such buffer."
+If such buffer already exists (one or several), switch to the one
+that was created first.
+With \\[universal-argument] prefix, create a new Eshell buffer
+with uniquified name."
   (interactive)
   (let* ((default-directory (project-root (project-current t)))
          (eshell-buffer-name



reply via email to

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