Commit b5cb6072 authored by Ken Raeburn's avatar Ken Raeburn

* abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero

comparison to test lisp value returned by Fget.
parent 0d8466cc
2001-12-29 Ken Raeburn <raeburn@gnu.org>
* abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero
comparison to test lisp value returned by Fget.
2001-12-29 Richard M. Stallman <rms@gnu.org>
* fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message.
......
......@@ -331,7 +331,7 @@ Returns the abbrev symbol, if expansion took place. */)
if (INTEGERP (XSYMBOL (sym)->plist))
XSETINT (XSYMBOL (sym)->plist,
XINT (XSYMBOL (sym)->plist) + 1);
else if (tem = Fget (sym, Qcount))
else if (!NILP (tem = Fget (sym, Qcount)))
Fput (sym, Qcount, make_number (XINT (tem) + 1));
/* If this abbrev has an expansion, delete the abbrev
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment