Commit f9b61ba7 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

ehelp.el: Suppress warning

* lisp/ehelp.el (electric-help-execute-extended): Suppress warning
about `execute-extended-command' only being interactive, because
we're still using it interactively, but via a wrapper.
parent f2071b6d
......@@ -355,7 +355,10 @@ will select it.)"
(defun electric-help-execute-extended (_prefixarg)
(interactive "p")
(setq electric-help-form-to-execute
(lambda () (execute-extended-command nil)))
(lambda ()
(with-suppressed-warnings ((interactive-only
(execute-extended-command nil))))
;; This is to be buond to C-x in ehelp mode. Retains ehelp buffer and then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment