Function: vc-dir-bookmark-make-record
vc-dir-bookmark-make-record is a byte-compiled function defined in
vc-dir.el.gz.
Signature
(vc-dir-bookmark-make-record)
Documentation
Make record used to bookmark a vc-dir buffer.
This implements the bookmark-make-record-function type for
vc-dir buffers.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
(defun vc-dir-bookmark-make-record ()
"Make record used to bookmark a `vc-dir' buffer.
This implements the `bookmark-make-record-function' type for
`vc-dir' buffers."
(let* ((bookmark-name
(concat "(" (symbol-name vc-dir-backend) ") "
(file-name-nondirectory
(directory-file-name default-directory))))
(defaults (list bookmark-name default-directory)))
`(,bookmark-name
,@(bookmark-make-record-default 'no-file)
(filename . ,default-directory)
(handler . vc-dir-bookmark-jump)
(defaults . ,defaults))))