Function: electric-help-execute-extended

electric-help-execute-extended is an interactive and byte-compiled function defined in ehelp.el.gz.

Signature

(electric-help-execute-extended PREFIXARG)

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/ehelp.el.gz
;; This is to be bound to M-x in ehelp mode. Retains ehelp buffer and then
;; continues with execute-extended-command.
(defun electric-help-execute-extended (_prefixarg)
  (interactive "p")
  (setq electric-help-form-to-execute
        (lambda ()
          (with-suppressed-warnings ((interactive-only
                                      execute-extended-command))
            (execute-extended-command nil))))
  (electric-help-retain))