all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* functions that take a last argument with a possible nil value ...
@ 2021-11-21 10:51 Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; only message in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-11-21 10:51 UTC (permalink / raw)
  To: help-gnu-emacs

Functions that take a last argument with a possible nil value,
e.g., `declare-function', since it can be called like this

  (declare-function ny-kill nil)

cannot they just as well be rewritten with the (in this case)
second argument optional since nil will be the default value
for that anyway? I.e.,

  (declare-function ny-kill)

Same?

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-21 10:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-21 10:51 functions that take a last argument with a possible nil value Emanuel Berg 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.