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

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

Enabling functionality in elisp


From: wael-zwaiter
Subject: Enabling functionality in elisp
Date: Fri, 30 Apr 2021 01:28:15 +0200

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.




reply via email to

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