diff options
| author | Eli Zaretskii | 2020-06-21 19:20:37 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2020-06-21 19:20:37 +0300 |
| commit | 8df2957df167bf34220fbf6a059752759ef41f4a (patch) | |
| tree | 376b5aae8dec2107447cd4b53cfc1a892bccb15f /lisp | |
| parent | a4d3897d8f0caa54be1e1d081651ed6640b7f25e (diff) | |
| download | emacs-8df2957df167bf34220fbf6a059752759ef41f4a.tar.gz 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.el | 16 |
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 | |||
| 716 | ;;;###autoload | 716 | ;;;###autoload |
| 717 | (defun project-shell () | 717 | (defun project-shell () |
| 718 | "Start an inferior shell in the current project's root directory. | 718 | "Start an inferior shell in the current project's root directory. |
| 719 | If such buffer already exists (one or several), switch to the one | 719 | If a buffer already exists for running a shell in the project's root, |
| 720 | that was created first. | 720 | switch to it. Otherwise, create a new shell buffer. |
| 721 | With \\[universal-argument] prefix, create a new inferior shell | 721 | With \\[universal-argument] prefix arg, create a new inferior shell buffer even |
| 722 | buffer with uniquified name." | 722 | if one already exist." |
| 723 | (interactive) | 723 | (interactive) |
| 724 | (let* ((default-directory (project-root (project-current t))) | 724 | (let* ((default-directory (project-root (project-current t))) |
| 725 | (default-project-shell-name | 725 | (default-project-shell-name |
| @@ -735,10 +735,10 @@ buffer with uniquified name." | |||
| 735 | ;;;###autoload | 735 | ;;;###autoload |
| 736 | (defun project-eshell () | 736 | (defun project-eshell () |
| 737 | "Start Eshell in the current project's root directory. | 737 | "Start Eshell in the current project's root directory. |
| 738 | If such buffer already exists (one or several), switch to the one | 738 | If a buffer already exists for running Eshell in the project's root, |
| 739 | that was created first. | 739 | switch to it. Otherwise, create a new Eshell buffer. |
| 740 | With \\[universal-argument] prefix, create a new Eshell buffer | 740 | With \\[universal-argument] prefix arg, create a new Eshell buffer even |
| 741 | with uniquified name." | 741 | if one already exist." |
| 742 | (interactive) | 742 | (interactive) |
| 743 | (let* ((default-directory (project-root (project-current t))) | 743 | (let* ((default-directory (project-root (project-current t))) |
| 744 | (eshell-buffer-name | 744 | (eshell-buffer-name |