changeset 39646:0630a03f4079

* minibuf.c (Fminibuffer_prompt_end): Don't apply make_number to a Lisp_Object.
author Ken Raeburn <raeburn@raeburn.org>
date Sun, 07 Oct 2001 11:03:59 +0000
parents aba5e2fecf32
children 387ceba6fde4
files src/ChangeLog src/minibuf.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Oct 07 11:02:52 2001 +0000
+++ b/src/ChangeLog	Sun Oct 07 11:03:59 2001 +0000
@@ -1,5 +1,8 @@
 2001-10-07  Ken Raeburn  <raeburn@gnu.org>
 
+	* minibuf.c (Fminibuffer_prompt_end): Don't apply make_number to a
+	Lisp_Object.
+
 	* lisp.h (Ffield_end): Declare.
 
 2001-10-07  Gerd Moellmann  <gerd@gnu.org>
--- a/src/minibuf.c	Sun Oct 07 11:02:52 2001 +0000
+++ b/src/minibuf.c	Sun Oct 07 11:03:59 2001 +0000
@@ -335,7 +335,7 @@
   Lisp_Object end = Ffield_end (beg, Qnil);
   
   if (XINT (end) == ZV && NILP (Fget_char_property (beg, Qfield, Qnil)))
-    return make_number (beg);
+    return beg;
   else
     return end;
 }