all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Handling nil values in optional argument
@ 2024-07-11 22:38 Heime
  2024-07-12  2:37 ` [External] : " Drew Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Heime @ 2024-07-11 22:38 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

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








^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-07-13  4:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 22:38 Handling nil values in optional argument Heime
2024-07-12  2:37 ` [External] : " Drew Adams
2024-07-12  4:37   ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-07-12 12:48     ` Heime
2024-07-13  4:56       ` Michael Heerdegen via Users list for the GNU Emacs text editor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.