help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing part of the code instead of another


From: Robert Pluim
Subject: Re: Executing part of the code instead of another
Date: Wed, 07 Oct 2020 13:28:54 +0200

>>>>> On Wed, 07 Oct 2020 13:17:19 +0200, Emanuel Berg via Users list for the 
>>>>> GNU Emacs text editor <help-gnu-emacs@gnu.org> said:

    Emanuel> Robert Pluim wrote:
    >>> But no prog2 :(
    >> 
    >> ? I see a prog2 macro in subr.el (it used to be
    >> a function, going back to at least 1994).

    Emanuel> I meant there is no prog3 :(

(prog2 (progn 1 2) 3)

macroization left as an exercise for the reader :-)

Robert
-- 



reply via email to

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