mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-18 18:00:11 +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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue