From: Dmitry Gutov Date: Sun, 21 Jun 2020 01:19:29 +0000 (+0300) Subject: ; project-shell, project-eshell: Docstring tweaks X-Git-Tag: emacs-28.0.90~7127 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1b487eac0ec10059eb2b8c5e7efc9eec1342148;p=emacs.git ; project-shell, project-eshell: Docstring tweaks --- 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