]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't prefix bookmark name with VC backend name
authorMatthias Meulien <orontee@gmail.com>
Wed, 16 Feb 2022 07:49:07 +0000 (08:49 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 17 Feb 2022 11:58:12 +0000 (12:58 +0100)
* lisp/vc/vc-dir.el (vc-dir-bookmark-make-record): Remove prefix from
bookmark name.

lisp/vc/vc-dir.el

index 944b409ea2829b761bffd0fbd9d4fc5e2af2df5b..0d750515c3d7b120bd88f4e4b95180f6dde53df3 100644 (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)