aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2002-04-05 13:36:51 +0000
committerGerd Moellmann2002-04-05 13:36:51 +0000
commitb9f0b172547872063fae513492199fbc2bf219fd (patch)
tree6ea22e54d863f1ff501db7a37b22414ca5a7ce8d /src
parentf5bceaf89b3b88f42da85cbce98cadf9429c3974 (diff)
downloademacs-b9f0b172547872063fae513492199fbc2bf219fd.tar.gz
emacs-b9f0b172547872063fae513492199fbc2bf219fd.zip
(Fcall_interactively): Use INTEGERP instead of
NUMBERP for checking Vhistory_length.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/callint.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c0da7e669e7..79f7f712466 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12002-04-05 Gerd Moellmann <gerd@gnu.org>
2
3 * callint.c (Fcall_interactively): Use INTEGERP instead of
4 NUMBERP for checking Vhistory_length.
5
12002-04-05 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 62002-04-05 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 7
3 * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. 8 * sound.c (Fplay_sound_internal): Renamed from Fplay_sound.
diff --git a/src/callint.c b/src/callint.c
index 35e1047bc70..fec25a3411a 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -1,5 +1,5 @@
1/* Call a Lisp function interactively. 1/* Call a Lisp function interactively.
2 Copyright (C) 1985, 86, 93, 94, 95, 1997, 2000 2 Copyright (C) 1985, 86, 93, 94, 95, 1997, 2000, 2002
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -346,7 +346,7 @@ supply if the command inquires which events were used to invoke it. */)
346 = Fcons (Fcons (function, values), Vcommand_history); 346 = Fcons (Fcons (function, values), Vcommand_history);
347 347
348 /* Don't keep command history around forever. */ 348 /* Don't keep command history around forever. */
349 if (NUMBERP (Vhistory_length) && XINT (Vhistory_length) > 0) 349 if (INTEGERP (Vhistory_length) && XINT (Vhistory_length) > 0)
350 { 350 {
351 teml = Fnthcdr (Vhistory_length, Vcommand_history); 351 teml = Fnthcdr (Vhistory_length, Vcommand_history);
352 if (CONSP (teml)) 352 if (CONSP (teml))
@@ -764,7 +764,7 @@ supply if the command inquires which events were used to invoke it. */)
764 Vcommand_history = Fcons (Flist (count + 1, visargs), 764 Vcommand_history = Fcons (Flist (count + 1, visargs),
765 Vcommand_history); 765 Vcommand_history);
766 /* Don't keep command history around forever. */ 766 /* Don't keep command history around forever. */
767 if (NUMBERP (Vhistory_length) && XINT (Vhistory_length) > 0) 767 if (INTEGERP (Vhistory_length) && XINT (Vhistory_length) > 0)
768 { 768 {
769 teml = Fnthcdr (Vhistory_length, Vcommand_history); 769 teml = Fnthcdr (Vhistory_length, Vcommand_history);
770 if (CONSP (teml)) 770 if (CONSP (teml))