Function: hydra--call-interactively

hydra--call-interactively is a byte-compiled function defined in hydra.el.

Signature

(hydra--call-interactively CMD NAME)

Documentation

Generate a call-interactively statement for CMD.

Set this-command to NAME.

Source Code

;; Defined in ~/.emacs.d/elpa/hydra-20250316.1254/hydra.el
(defun hydra--call-interactively (cmd name)
  "Generate a `call-interactively' statement for CMD.
Set `this-command' to NAME."
  (if (and (symbolp name)
           (not (memq name '(nil body))))
      `(progn
         (setq this-command ',name)
         (hydra--call-interactively-remap-maybe #',cmd))
    `(hydra--call-interactively-remap-maybe #',cmd)))