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

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

Handling nil values in optional argument


From: Heime
Subject: Handling nil values in optional argument
Date: Thu, 11 Jul 2024 22:38:04 +0000

I have the following tool, but I want that if I pass nil in the third argument,
the function does not assume that fyr was not supplied, but that fyr is actually
to be used as a nil value. 

(defun mundu (monbf funcs labels &optional fyr)

  (unless fyr (setq fyr t))








reply via email to

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