summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-09-15 00:55:36 +0800
committerJSDurand <mmemmew@gmail.com>2021-09-15 00:55:36 +0800
commit5ef7af33cf1bd9c7c8f3537dd288fcc60e349e86 (patch)
tree504b7955a2e0dae5221a14bc45c0abac9f8f2b9d
parentb5c0d2d9f6828cde9ef8e2d937c34595ab719ee8 (diff)
bookmark: add Info group
* bookmark-conf.el (blist-filter-groups, blist-info-p): Add the info group.
-rw-r--r--bookmark-conf.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/bookmark-conf.el b/bookmark-conf.el
index bfb78f5..a8244e5 100644
--- a/bookmark-conf.el
+++ b/bookmark-conf.el
@@ -53,6 +53,7 @@
(cons "Gnus" #'blist-gnus-p)
(cons "PDF" #'blist-pdf-p)
(cons "ELisp" #'blist-elisp-p)
+ (cons "Info" #'blist-info-p)
(cons "Org" #'blist-org-p)
(cons "C" #'blist-c-p)
(cons "Default" #'blist-default-p)))
@@ -67,6 +68,12 @@
(memq handler (list #'gnus-summary-bookmark-jump
#'gnus-bookmark-jump))))
+;;;; Info group
+
+(blist-define-criterion "info" "Info"
+ (eq (bookmark-get-handler bookmark)
+ #'Info-bookmark-jump))
+
;;;; PDF group
(blist-define-criterion "pdf" "PDF"