[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 breaks null function
From: |
Nelson H. F. Beebe |
Subject: |
emacs-27 breaks null function |
Date: |
Mon, 6 Apr 2020 11:30:04 -0600 |
Some 34 years ago, I wrote a function with the code snippet
(if (null executing-macro) ...)
and that function has been in daily use through emacs-26. However,
with emacs-27, I get an error with this traceback
Symbol's value as variable is void: executing-macro
The Emacs Lisp function null is defined in C in the file data.c,
and its body
{
if (NILP (object))
return Qt;
return Qnil;
}
appears not to have changed between 2009 and 2020. I find nothing
in the ChangeLog.* files that would explain the behavior change
in emacs-27.
Nor can I readily spot some other function that could be used
to test for the prior definition of a variable.
Comments and advice are welcome!
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
- emacs-27 breaks null function,
Nelson H. F. Beebe <=