From: Eli Zaretskii Date: Sun, 21 Jun 2020 16:20:37 +0000 (+0300) Subject: Improve doc strings of 'project-shell' and 'project-eshell' X-Git-Tag: emacs-28.0.90~7122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8df2957df167bf34220fbf6a059752759ef41f4a;p=emacs.git Improve doc strings of 'project-shell' and 'project-eshell' * lisp/progmodes/project.el (project-shell, project-eshell): Doc fixes. --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 8f6301c6020..bfbe2362721 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -716,10 +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. -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." +If a buffer already exists for running a shell in the project's root, +switch to it. Otherwise, create a new shell buffer. +With \\[universal-argument] prefix arg, create a new inferior shell buffer even +if one already exist." (interactive) (let* ((default-directory (project-root (project-current t))) (default-project-shell-name @@ -735,10 +735,10 @@ buffer with uniquified name." ;;;###autoload (defun project-eshell () "Start Eshell in the current project's root directory. -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." +If a buffer already exists for running Eshell in the project's root, +switch to it. Otherwise, create a new Eshell buffer. +With \\[universal-argument] prefix arg, create a new Eshell buffer even +if one already exist." (interactive) (let* ((default-directory (project-root (project-current t))) (eshell-buffer-name