Function: projectile-bookmark--record

projectile-bookmark--record is a byte-compiled function defined in projectile.el.

Signature

(projectile-bookmark--record NAME)

Documentation

Return the bookmark record named NAME.

Signals a user-error when there is no such bookmark - the completion prompts don't require a match, and bookmark.el answers a name it doesn't know with a bare error (or, in the case of bookmark-delete, with a cheerful nothing at all).

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-bookmark--record (name)
  "Return the bookmark record named NAME.
Signals a `user-error' when there is no such bookmark - the completion
prompts don't require a match, and `bookmark.el' answers a name it
doesn't know with a bare error (or, in the case of `bookmark-delete',
with a cheerful nothing at all)."
  (or (bookmark-get-bookmark name t)
      (user-error "No bookmark named `%s'" name)))