all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Enabling functionality in elisp
@ 2021-04-29 23:28 wael-zwaiter
  0 siblings, 0 replies; only message in thread
From: wael-zwaiter @ 2021-04-29 23:28 UTC (permalink / raw)
  To: Help Gnu Emacs


In elisp code one can enable a feature using either a numeric value (0, 1)
or with a boolean (t, nil).  What constructs are available if one wants to
use either method?

For instance, I can use

  (if signal

by defining

  (defcustom signal t

Some useful examples would help me, particularly for designing minor-modes.




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

only message in thread, other threads:[~2021-04-29 23:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-29 23:28 Enabling functionality in elisp wael-zwaiter

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.