]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fcall_interactively): Use INTEGERP instead of
authorGerd Moellmann <gerd@gnu.org>
Fri, 5 Apr 2002 13:36:51 +0000 (13:36 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 5 Apr 2002 13:36:51 +0000 (13:36 +0000)
NUMBERP for checking Vhistory_length.

src/ChangeLog
src/callint.c

index c0da7e669e74bee396ad8e15b51b38a67c1cb427..79f7f712466d1e91d84d6068dba7cbbc5cd3f0db 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-05  Gerd Moellmann  <gerd@gnu.org>
+
+       * callint.c (Fcall_interactively): Use INTEGERP instead of 
+       NUMBERP for checking Vhistory_length.
+
 2002-04-05  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
        * sound.c (Fplay_sound_internal): Renamed from Fplay_sound.
index 35e1047bc7087e1ca054baf2d5ec5ae25133f48f..fec25a3411a58125ce28b7305d3e47b9adb2ba0c 100644 (file)
@@ -1,5 +1,5 @@
 /* Call a Lisp function interactively.
-   Copyright (C) 1985, 86, 93, 94, 95, 1997, 2000
+   Copyright (C) 1985, 86, 93, 94, 95, 1997, 2000, 2002
    Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
@@ -346,7 +346,7 @@ supply if the command inquires which events were used to invoke it.  */)
            = Fcons (Fcons (function, values), Vcommand_history);
 
          /* Don't keep command history around forever.  */
-         if (NUMBERP (Vhistory_length) && XINT (Vhistory_length) > 0)
+         if (INTEGERP (Vhistory_length) && XINT (Vhistory_length) > 0)
            {
              teml = Fnthcdr (Vhistory_length, Vcommand_history);
              if (CONSP (teml))
@@ -764,7 +764,7 @@ supply if the command inquires which events were used to invoke it.  */)
       Vcommand_history = Fcons (Flist (count + 1, visargs),
                                Vcommand_history);
       /* Don't keep command history around forever.  */
-      if (NUMBERP (Vhistory_length) && XINT (Vhistory_length) > 0)
+      if (INTEGERP (Vhistory_length) && XINT (Vhistory_length) > 0)
        {
          teml = Fnthcdr (Vhistory_length, Vcommand_history);
          if (CONSP (teml))