1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

Don't prefix bookmark name with VC backend name

* lisp/vc/vc-dir.el (vc-dir-bookmark-make-record): Remove prefix from
bookmark name.
This commit is contained in:
Matthias Meulien 2022-02-16 08:49:07 +01:00 committed by Lars Ingebrigtsen
parent 7c99526435
commit a1617f070b

View File

@ -1538,9 +1538,8 @@ These are the commands available for use in the file status 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))))
(file-name-nondirectory
(directory-file-name default-directory)))
(defaults (list bookmark-name default-directory)))
`(,bookmark-name
,@(bookmark-make-record-default 'no-file)