From: Joost Kremers <joostkremers@fastmail.fm>
To: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Cc: Andreas Schwab <schwab@linux-m68k.org>, emacs-devel@gnu.org
Subject: Re: emacs-27 breaks null function
Date: Mon, 06 Apr 2020 20:51:49 +0200 [thread overview]
Message-ID: <87wo6s78hm.fsf@fastmail.fm> (raw)
In-Reply-To: <CMM.0.95.0.1586198258.beebe@gamma.math.utah.edu>
On Mon, Apr 06 2020, Nelson H. F. Beebe wrote:
> Andreas Schwab <schwab@linux-m68k.org> writes in response:
>
>>> That variable (executing-macro) as been marked obsolete for
>>> more than 24 years.
>>> The alias has finally been removed in emacs 27. Use
>>> executing-kbd-macro
>>> instead.
>
> Thanks, that solves the problem for the particular use of
> executing-macro,
> but what about testing for an undefined variable in general,
> such as
>
> (null
> this-var-might-not-be-defined-but-might-also-be-defined)
That's what `boundp` is for. (And `fboundp` if you want to check
whether a symbol has a function binding).
--
Joost Kremers
Life has its moments
next prev parent reply other threads:[~2020-04-06 18:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-06 17:30 emacs-27 breaks null function Nelson H. F. Beebe
2020-04-06 17:46 ` Andreas Schwab
2020-04-06 18:37 ` Nelson H. F. Beebe
2020-04-06 18:51 ` Joost Kremers [this message]
2020-04-06 18:52 ` Andreas Schwab
2020-04-06 18:53 ` Dmitry Gutov
2020-04-06 18:12 ` Stefan Monnier
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=87wo6s78hm.fsf@fastmail.fm \
--to=joostkremers@fastmail.fm \
--cc=beebe@math.utah.edu \
--cc=emacs-devel@gnu.org \
--cc=schwab@linux-m68k.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.