emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-27 breaks null function


From: Joost Kremers
Subject: Re: emacs-27 breaks null function
Date: Mon, 06 Apr 2020 20:51:49 +0200
User-agent: mu4e 1.3.10; emacs 27.0.90


On Mon, Apr 06 2020, Nelson H. F. Beebe wrote:
Andreas Schwab <address@hidden> 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



reply via email to

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