summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-06-21 19:20:37 +0300
committerEli Zaretskii <eliz@gnu.org>2020-06-21 19:20:37 +0300
commit8df2957df167bf34220fbf6a059752759ef41f4a (patch)
tree376b5aae8dec2107447cd4b53cfc1a892bccb15f /lisp
parenta4d3897d8f0caa54be1e1d081651ed6640b7f25e (diff)
downloademacs-8df2957df167bf34220fbf6a059752759ef41f4a.tar.gz
emacs-8df2957df167bf34220fbf6a059752759ef41f4a.tar.bz2
emacs-8df2957df167bf34220fbf6a059752759ef41f4a.zip
Improve doc strings of 'project-shell' and 'project-eshell'
* lisp/progmodes/project.el (project-shell, project-eshell): Doc fixes.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/project.el16
1 files changed, 8 insertions, 8 deletions
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