[Top][All Lists]

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

master 86c860f: project-switch-to-buffer: Reword the docstring

From: Dmitry Gutov
Subject: master 86c860f: project-switch-to-buffer: Reword the docstring
Date: Fri, 10 Jul 2020 21:40:15 -0400 (EDT)

branch: master
commit 86c860f1a1d0bb2de9c5f6a1752e8bd9389235ec
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    project-switch-to-buffer: Reword the docstring
    * lisp/progmodes/project.el (project-switch-to-buffer):
    Reword the docstring, copying the style from project-kill-buffers.
 lisp/progmodes/project.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 08798d8..ce80465 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -802,9 +802,7 @@ Arguments the same as in `compile'."
 (defun project-switch-to-buffer ()
-  "Switch to another buffer that is related to the current project.
-A buffer is related to a project if `project-current' returns the
-same (equal) value when called in that buffer."
+  "Switch to another buffer belonging to the current project."
   (let* ((pr (project-current t))
          (current-buffer (current-buffer))

reply via email to

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