+2008-07-05 Andreas Schwab <schwab@suse.de>
+
+ * xdisp.c (get_it_property): Move out of HAVE_WINDOW_SYSTEM
+ section.
+
2008-07-05 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (IT_OVERFLOW_NEWLINE_INTO_FRINGE): Turn it off if
}
}
+/* Return the character-property PROP at the current position in IT. */
+
+static Lisp_Object
+get_it_property (it, prop)
+ struct it *it;
+ Lisp_Object prop;
+{
+ Lisp_Object position;
+
+ if (STRINGP (it->object))
+ position = make_number (IT_STRING_CHARPOS (*it));
+ else if (BUFFERP (it->object))
+ position = make_number (IT_CHARPOS (*it));
+ else
+ return Qnil;
+
+ return Fget_char_property (position, prop, it->object);
+}
+
/* See if there's a line- or wrap-prefix, and if so, push it on IT. */
static void
take_vertical_position_into_account (it);
}
-/* Return the character-property PROP at the current position in IT. */
-
-static Lisp_Object
-get_it_property (it, prop)
- struct it *it;
- Lisp_Object prop;
-{
- Lisp_Object position;
-
- if (STRINGP (it->object))
- position = make_number (IT_STRING_CHARPOS (*it));
- else if (BUFFERP (it->object))
- position = make_number (IT_CHARPOS (*it));
- else
- return Qnil;
-
- return Fget_char_property (position, prop, it->object);
-}
-
/* Calculate line-height and line-spacing properties.
An integer value specifies explicit pixel value.
A float value specifies relative value to current face height.