summaryrefslogtreecommitdiff
path: root/src/abbrev.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2001-12-29 21:42:22 +0000
committerKen Raeburn <raeburn@raeburn.org>2001-12-29 21:42:22 +0000
commitb5cb6072291a4cd2a174eab8c6ef451758de413c (patch)
treec82faff7896fd26fd4638d11d2cfa5e6a88f6dbe /src/abbrev.c
parent0d8466cc42d2e35ed1ea136d6862201fba189f21 (diff)
downloademacs-b5cb6072291a4cd2a174eab8c6ef451758de413c.tar.gz
* abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero
comparison to test lisp value returned by Fget.
Diffstat (limited to 'src/abbrev.c')
-rw-r--r--src/abbrev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abbrev.c b/src/abbrev.c
index 217de1c5a6e..3edbe245831 100644
--- a/src/abbrev.c
+++ b/src/abbrev.c
@@ -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