summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-09-07 18:52:04 +0800
committerJSDurand <mmemmew@gmail.com>2022-09-07 18:52:04 +0800
commitdf39d29ec09150de5a9dab50870f4108c6849c56 (patch)
tree8872e1efa42f87e3a738056d3568ac11b8a5fcb3
parentcb9c009557b956b4814f1c4294f70bf38d1f0d53 (diff)
bookmark and vc
* bookmark-conf.el: Delete a `message' call that I forgot to delete after debugging. * vc-conf.el (vc-prefix-map): Bind "C-x v -" to `vc-revision-other-window', a very handy feature.
-rw-r--r--bookmark-conf.el3
-rw-r--r--vc-conf.el2
2 files changed, 1 insertions, 4 deletions
diff --git a/bookmark-conf.el b/bookmark-conf.el
index 4745abf..806f4e0 100644
--- a/bookmark-conf.el
+++ b/bookmark-conf.el
@@ -147,9 +147,6 @@
(setq new-location
(substring new-location nil (max 0 (1- (match-beginning 1)))))
(cond
- ((string= location "~/.authinfo.gpg")
- (message new-location)))
- (cond
((string-match "\\.\\([^.]+\\)\\'" new-location)
(setq handler-name (match-string 1 new-location)))
((setq handler-name nil)))))))
diff --git a/vc-conf.el b/vc-conf.el
index 1edafbe..63481d1 100644
--- a/vc-conf.el
+++ b/vc-conf.el
@@ -27,7 +27,7 @@
(require 'vc)
(define-key vc-dir-mode-map (vector ?F) #'vc-pull)
-
+(define-key vc-prefix-map (vector ?-) #'vc-revision-other-window)
(provide 'vc-conf)
;;; vc-conf.el ends here