Variable: embark-collect-direct-action-minor-mode
embark-collect-direct-action-minor-mode is a buffer-local variable
defined in embark.el.
Documentation
Non-nil if Embark-Collect-Direct-Action minor mode is enabled.
Use the command embark-collect-direct-action-minor-mode(var)/embark-collect-direct-action-minor-mode(fun) to change
this variable.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(define-minor-mode embark-collect-direct-action-minor-mode
"Bind type-specific actions directly (without need for `embark-act')."
:init-value nil
:lighter " Act"
(unless (derived-mode-p 'embark-collect-mode)
(user-error "Not in an Embark Collect buffer"))
(save-excursion
(goto-char (point-min))
(let ((inhibit-read-only t) maps)
(while (progn
(when (tabulated-list-get-id)
(put-text-property
(point) (button-end (point)) 'keymap
(if embark-collect-direct-action-minor-mode
(when-let* ((target (embark-collect--target))
(type (plist-get target :type)))
(or (alist-get type maps)
(setf (alist-get type maps)
(embark-collect--direct-action-map type)))))))
(forward-button 1 nil nil t))))))