Function: vc-dir-bookmark-jump

vc-dir-bookmark-jump is an autoloaded and byte-compiled function defined in vc-dir.el.gz.

Signature

(vc-dir-bookmark-jump BMK)

Documentation

Provide the bookmark-jump behavior for a vc-dir buffer.

This implements the handler function interface for the record type returned by vc-dir-bookmark-make-record.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
;;;###autoload
(defun vc-dir-bookmark-jump (bmk)
  "Provide the `bookmark-jump' behavior for a `vc-dir' buffer.
This implements the `handler' function interface for the record
type returned by `vc-dir-bookmark-make-record'."
  (let* ((file (bookmark-prop-get bmk 'filename))
         (buf (progn ;; Don't use save-window-excursion (bug#39722)
                (vc-dir file)
                (current-buffer))))
    (bookmark-default-handler
     `("" (buffer . ,buf) . ,(bookmark-get-bookmark-record bmk)))))