aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2020-06-19 21:50:30 +0300
committerEli Zaretskii2020-06-19 21:50:30 +0300
commit2eda8199bf3227f979edf532fae2d74892c27b5a (patch)
tree7842eaecc0c4bb6b39c5462d1498853c0f08d144
parent3e7499c8389b8e8900320914fe496ae2780a453e (diff)
downloademacs-2eda8199bf3227f979edf532fae2d74892c27b5a.tar.gz
emacs-2eda8199bf3227f979edf532fae2d74892c27b5a.zip
Fix last change in doc strings of project.el
* lisp/progmodes/project.el (project-switch-to-buffer): More accurate doc string.
-rw-r--r--lisp/progmodes/project.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index c0c07ab409e..be1b801ca2b 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -775,7 +775,9 @@ Arguments the same as in `compile'."
775 775
776;;;###autoload 776;;;###autoload
777(defun project-switch-to-buffer () 777(defun project-switch-to-buffer ()
778 "Switch to another buffer that visits some file in the current project." 778 "Switch to another buffer that is related to the current project.
779A buffer is related to a project if its `default-directory'
780is inside the directory hierarchy of the project's root."
779 (interactive) 781 (interactive)
780 (let* ((root (project-root (project-current t))) 782 (let* ((root (project-root (project-current t)))
781 (current-buffer (current-buffer)) 783 (current-buffer (current-buffer))