Function: projectile-bookmark-jump

projectile-bookmark-jump is an autoloaded, interactive and byte-compiled function defined in projectile.el.

Signature

(projectile-bookmark-jump NAME)

Documentation

Jump to the project bookmark named NAME.

Only the current project's bookmarks are offered for completion - see projectile-bookmark-scope for how that's decided.

When the bookmark's file has been deleted in the meantime this refuses with a friendly error instead of dragging you through the relocation prompt of bookmark.el. Use projectile-bookmark-delete to get rid of such a stale bookmark.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload
(defun projectile-bookmark-jump (name)
  "Jump to the project bookmark named NAME.
Only the current project's bookmarks are offered for completion - see
`projectile-bookmark-scope' for how that's decided.

When the bookmark's file has been deleted in the meantime this refuses
with a friendly error instead of dragging you through the relocation
prompt of `bookmark.el'.  Use `projectile-bookmark-delete' to get rid of
such a stale bookmark."
  (interactive (list (projectile-bookmark--read "Jump to bookmark: ")))
  (let* ((record (projectile-bookmark--record name))
         (file (bookmark-get-filename record)))
    ;; A bookmark with a handler of its own may keep something else
    ;; entirely in `filename', so only vet the ones `bookmark.el' will
    ;; resolve as a file itself.
    (when (and file
               (not (bookmark-get-handler record))
               (not (file-readable-p file)))
      (user-error "The file of bookmark `%s' is gone (%s)" name file)))
  (bookmark-jump name))