emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit adf5848ea7: Support bookmark-handler-type for M


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit adf5848ea7: Support bookmark-handler-type for Magit bookmarks
Date: Sat, 18 Jun 2022 14:58:17 -0400 (EDT)

branch: elpa/git-commit
commit adf5848ea787401b09aa37b134aacaaaae3007f7
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Support bookmark-handler-type for Magit bookmarks
    
    From etc/NEWS in emacs.git:
      *** 'list-bookmarks' now includes a type column.
      Types are registered via a 'bookmark-handler-type' symbol property on
      the jumping function.
---
 lisp/magit-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/magit-mode.el b/lisp/magit-mode.el
index 213c616816..c6b0910f7e 100644
--- a/lisp/magit-mode.el
+++ b/lisp/magit-mode.el
@@ -1540,6 +1540,8 @@ with the variables' values as arguments, which were 
recorded by
       (funcall bmkp-jump-display-function (current-buffer)))
     nil))
 
+(put 'magit--handle-bookmark 'bookmark-handler-type "Magit")
+
 (cl-defgeneric magit-bookmark-name ()
   "Return name for bookmark to current buffer."
   (format "%s%s"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]