changeset 39098:ee6a2760c8dc

(handle_single_display_prop): Fix for int/Lisp_Object mixup.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 04 Sep 2001 01:02:16 +0000
parents 0ae77dccd75d
children 847a84fe7c2b
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Sep 03 23:33:57 2001 +0000
+++ b/src/xdisp.c	Tue Sep 04 01:02:16 2001 +0000
@@ -2824,10 +2824,10 @@
 	 object where the property was found, and `buffer-position'
 	 to the current position in the buffer.  */
       specbind (Qobject, object);
-      specbind (Qposition, CHARPOS (*position));
-      specbind (Qbuffer_position, (STRINGP (object)
-				   ? make_number (IT_CHARPOS (*it))
-				   : make_number (CHARPOS (*position))));
+      specbind (Qposition, make_number (CHARPOS (*position)));
+      specbind (Qbuffer_position,
+		make_number (STRINGP (object)
+			     ? IT_CHARPOS (*it) : CHARPOS (*position)));
       GCPRO1 (form);
       form = safe_eval (form);
       UNGCPRO;