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

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

RE: [External] : Re: Passing optional arguments for use with internal fu


From: uzibalqa
Subject: RE: [External] : Re: Passing optional arguments for use with internal functions
Date: Fri, 28 Jul 2023 20:42:48 +0000

------- Original Message -------
On Saturday, July 29th, 2023 at 8:02 AM, Drew Adams <drew.adams@oracle.com> 
wrote:


> > (or arg (setq arg 0))
> 
> 
> aka (setq arg (or arg 0))
> 
> And if the context doesn't care
> about the return value I'd make
> that clear, using:
> 
> (unless arg (setq arg 0))

I understand.  But is the command (or arg (setq arg 0)) equally applicable
when using lexical or dynamic binding ?  Recently emacs is using lexical
binding on everything.



reply via email to

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