summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2020-06-21 04:19:29 +0300
committerDmitry Gutov <dgutov@yandex.ru>2020-06-21 04:19:29 +0300
commita1b487eac0ec10059eb2b8c5e7efc9eec1342148 (patch)
tree845b73ea186cdfa82ecdbe58712182ea09eef159
parentc1056b0387fb6fda345da51e4e2ee9736c25a358 (diff)
downloademacs-a1b487eac0ec10059eb2b8c5e7efc9eec1342148.tar.gz
emacs-a1b487eac0ec10059eb2b8c5e7efc9eec1342148.tar.bz2
emacs-a1b487eac0ec10059eb2b8c5e7efc9eec1342148.zip
; project-shell, project-eshell: Docstring tweaks
-rw-r--r--lisp/progmodes/project.el14
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 3a9e8bcee54..74495cf07a4 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