[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master a1617f070b 2/3: Don't prefix bookmark name with VC backend name
From: |
Lars Ingebrigtsen |
Subject: |
master a1617f070b 2/3: Don't prefix bookmark name with VC backend name |
Date: |
Thu, 17 Feb 2022 06:58:19 -0500 (EST) |
branch: master
commit a1617f070baf64de4c0b10e56a3c3659f224690e
Author: Matthias Meulien <orontee@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Don't prefix bookmark name with VC backend name
* lisp/vc/vc-dir.el (vc-dir-bookmark-make-record): Remove prefix from
bookmark name.
---
lisp/vc/vc-dir.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 944b409ea2..0d750515c3 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -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)