aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ehelp.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ehelp.el b/lisp/ehelp.el
index 2a24c9857c2..ec6e7afeb14 100644
--- a/lisp/ehelp.el
+++ b/lisp/ehelp.el
@@ -355,7 +355,10 @@ will select it.)"
355(defun electric-help-execute-extended (_prefixarg) 355(defun electric-help-execute-extended (_prefixarg)
356 (interactive "p") 356 (interactive "p")
357 (setq electric-help-form-to-execute 357 (setq electric-help-form-to-execute
358 (lambda () (execute-extended-command nil))) 358 (lambda ()
359 (with-suppressed-warnings ((interactive-only
360 execute-extended-command))
361 (execute-extended-command nil))))
359 (electric-help-retain)) 362 (electric-help-retain))
360 363
361;; This is to be buond to C-x in ehelp mode. Retains ehelp buffer and then 364;; This is to be buond to C-x in ehelp mode. Retains ehelp buffer and then