Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b5cb6072
Commit
b5cb6072
authored
Dec 29, 2001
by
Ken Raeburn
Browse files
* abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero
comparison to test lisp value returned by Fget.
parent
0d8466cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/abbrev.c
src/abbrev.c
+1
-1
No files found.
src/ChangeLog
View file @
b5cb6072
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.
...
...
src/abbrev.c
View file @
b5cb6072
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment