all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wael-zwaiter@gmx.com
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Enabling functionality in elisp
Date: Fri, 30 Apr 2021 01:28:15 +0200	[thread overview]
Message-ID: <trinity-694fabc9-91ca-4f34-826d-1367a0f43e3d-1619738895762@3c-app-mailcom-bs03> (raw)


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	other threads:[~2021-04-29 23:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-694fabc9-91ca-4f34-826d-1367a0f43e3d-1619738895762@3c-app-mailcom-bs03 \
    --to=wael-zwaiter@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.