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

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

Re: Functions with multiple optional arguments


From: Emanuel Berg
Subject: Re: Functions with multiple optional arguments
Date: Mon, 17 Oct 2022 23:36:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Jean Louis wrote:

>> CL has another way, more practical probably, to assign
>> default values to optional arguments and that can be used
>> in Elisp as well with `cl-defun' ...
>
> I keep anything like Common Lisp for Common Lisp and strive
> to keep Emacs Lisp functions without CL stuff for clarity of
> my mind.

If so, relax, as `cl-defun' is as much Elisp as `defun' ...

C-h f cl-defun RET

It's in cl-macs.el ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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