[Top][All Lists]

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

master 733921e 2/3: project-known-roots: Rename and improve

From: Dmitry Gutov
Subject: master 733921e 2/3: project-known-roots: Rename and improve
Date: Thu, 25 Jun 2020 20:43:41 -0400 (EDT)

branch: master
commit 733921edfebe54488143719fada303d2d5d35b29
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    project-known-roots: Rename and improve
    * lisp/progmodes/project.el (project-known-project-roots):
    Rename from 'project-known-roots'.  Update the docstring.  Make
    sure the returned value is a list of strings.  Update the caller
 lisp/progmodes/project.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index e1adabd..add0e59 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -937,10 +937,10 @@ It's also possible to enter an arbitrary directory not in 
the list."
-(defun project-known-roots ()
-  "Return a list of known project roots."
+(defun project-known-project-roots ()
+  "Return the list of root directories of all known projects."
-  project--list)
+  (mapcar #'car project--list))
 ;;; Project switching

reply via email to

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