[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build: ehelp
From: |
Lars Ingebrigtsen |
Subject: |
Re: Towards a cleaner build: ehelp |
Date: |
Fri, 17 May 2019 12:41:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
In electric-help-execute-extended:
ehelp.el:358:10:Warning: ‘execute-extended-command’ is for interactive use
only; use ‘command-execute’ instead.
This is the function definition:
;; 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 () (execute-extended-command nil)))
(electric-help-retain))
I think ehelp is perhaps doing exactly the right thing here? It's
creating a variation of `M-x', so calling `execute-extended-command' is
the right thing to do here?
Slap a with-no-warnings around it?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Towards a cleaner build: arc-mode, (continued)
- Re: Towards a cleaner build: arc-mode, Lars Ingebrigtsen, 2019/05/18
- Re: Towards a cleaner build: arc-mode, Lars Ingebrigtsen, 2019/05/18
- Re: Towards a cleaner build: arc-mode, Eli Zaretskii, 2019/05/18
- Re: Towards a cleaner build: arc-mode, Lars Ingebrigtsen, 2019/05/18
- Re: Towards a cleaner build: arc-mode, Eli Zaretskii, 2019/05/18
- Re: Towards a cleaner build: arc-mode, Lars Ingebrigtsen, 2019/05/18
- Re: Towards a cleaner build: arc-mode, Lars Ingebrigtsen, 2019/05/19
- Re: Towards a cleaner build: arc-mode, Eli Zaretskii, 2019/05/19
Re: Towards a cleaner build: ehelp,
Lars Ingebrigtsen <=
Re: Towards a cleaner build: hexl, Lars Ingebrigtsen, 2019/05/17
Re: Towards a cleaner build: custom, Lars Ingebrigtsen, 2019/05/18
Re: Towards a cleaner build: frameset, Lars Ingebrigtsen, 2019/05/18