emacs-devel
[Top][All Lists]
Advanced

[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: Sat, 18 May 2019 06:41:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> ;; 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))

[...]

> Maybe even better: call it with call-interactively?

Hm...  but would that be the same?  With call-interactively, PREFIXARG
won't be nil, will it?  I don't know whether that matters, though...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]