]> git.eshelyaron.com Git - emacs.git/commitdiff
; project-shell, project-eshell: Docstring tweaks
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 21 Jun 2020 01:19:29 +0000 (04:19 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 21 Jun 2020 01:19:29 +0000 (04:19 +0300)
lisp/progmodes/project.el

index 3a9e8bcee54c744e67cd56c3ce57a56290534208..74495cf07a46bbe3d3da54401dad5210d4d8b51d 100644 (file)
@@ -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