Function: kbd-key:execute-special-series
kbd-key:execute-special-series is a byte-compiled function defined in
hib-kbd.el.
Signature
(kbd-key:execute-special-series KEY-SERIES)
Documentation
Execute KEY-SERIES.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hib-kbd.el
(defun kbd-key:execute-special-series (key-series)
"Execute KEY-SERIES."
(if (memq (key-binding [?\M-x]) '(execute-extended-command counsel-M-x))
(kbd-key:key-series-to-events key-series)
;; Disable helm while processing M-x commands; helm
;; gobbles final RET key. Counsel and Vertico work without modification.
(let ((orig-binding (global-key-binding [?\M-x]))
(helm-flag (bound-and-true-p helm-mode))
(minibuffer-completion-confirm))
(unwind-protect
(progn
(when helm-flag (helm-mode -1))
(global-set-key [?\M-x] 'execute-extended-command)
(kbd-key:key-series-to-events key-series))
(kbd-key:key-series-to-events
(format "M-: SPC (kbd-key:maybe-enable-helm SPC %s SPC #'%S) RET"
helm-flag orig-binding))))))