emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2eda819: Fix last change in doc strings of project.el


From: Eli Zaretskii
Subject: master 2eda819: Fix last change in doc strings of project.el
Date: Fri, 19 Jun 2020 14:51:57 -0400 (EDT)

branch: master
commit 2eda8199bf3227f979edf532fae2d74892c27b5a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Fix last change in doc strings of project.el
    
    * lisp/progmodes/project.el (project-switch-to-buffer): More accurate
    doc string.
---
 lisp/progmodes/project.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index c0c07ab..be1b801 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -775,7 +775,9 @@ Arguments the same as in `compile'."
 
 ;;;###autoload
 (defun project-switch-to-buffer ()
-  "Switch to another buffer that visits some file in the current project."
+  "Switch to another buffer that is related to the current project.
+A buffer is related to a project if its `default-directory'
+is inside the directory hierarchy of the project's root."
   (interactive)
   (let* ((root (project-root (project-current t)))
          (current-buffer (current-buffer))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]