Function: embark--keybinding-command

embark--keybinding-command is a byte-compiled function defined in embark.el.

Signature

(embark--keybinding-command TYPE TARGET)

Documentation

Treat an embark-keybinding TARGET as a command.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark--keybinding-command (_type target)
  "Treat an `embark-keybinding' TARGET as a command."
  (when-let* ((cmd (get-text-property 0 'embark-command target)))
    (cons 'command (format "%s" cmd))))