mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
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 (bug#41821).
This commit is contained in:
parent
beaff813e1
commit
733921edfe
@ -937,10 +937,10 @@ It's also possible to enter an arbitrary directory not in the list."
|
||||
pr-dir)))
|
||||
|
||||
;;;###autoload
|
||||
(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--ensure-read-project-list)
|
||||
project--list)
|
||||
(mapcar #'car project--list))
|
||||
|
||||
|
||||
;;; Project switching
|
||||
|
Loading…
Reference in New Issue
Block a user