How to combine helm-mini with global buttons from GNU Hyperbole.

This short snippet implements activation of GNU Hyperbole's global buttons from the quick menu helm-mini provided by Helm.

(defun my-make-gbuts-source ()
  (helm-build-sync-source "GButs"
	:candidates #'gbut:label-list
	:action (list (cons "Act"
						#'gbut:act))))
(defvar my-gbuts-source (my-make-gbuts-source))

To make it work, place this source in helm-mini-default-sources.

(push 'my-gbuts-source (nthcdr (1- (length helm-mini-default-sources))
							   helm-mini-default-sources))

Created: 2022-02-12 Сб 12:24