Function: projectile-bookmark--read
projectile-bookmark--read is a byte-compiled function defined in
projectile.el.
Signature
(projectile-bookmark--read PROMPT &optional ROOT)
Documentation
Read one of the project's bookmark names with PROMPT.
ROOT defaults to the current project. Signals a user-error when the
project has no bookmarks yet.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-bookmark--read (prompt &optional root)
"Read one of the project's bookmark names with PROMPT.
ROOT defaults to the current project. Signals a `user-error' when the
project has no bookmarks yet."
(let* ((root (or root (projectile-acquire-root)))
(names (projectile-bookmark-names root)))
(unless names
(user-error "%s" (projectile-prepend-project-name
"No bookmarks in this project")))
(projectile-completing-read prompt names :category 'bookmark)))