+2010-11-23 Eli Zaretskii <eliz@gnu.org>
+
+ * intervals.c (temp_set_point_both): Define before calling, to
+ avoid GCC warnings.
+
2010-11-23 Dan Nicolaescu <dann@ics.uci.edu>
* nsmenu.m: Use #include <config.h> instead of "config.h".
}
\f
-/* Set point "temporarily", without checking any text properties. */
-
-INLINE void
-temp_set_point (struct buffer *buffer, EMACS_INT charpos)
-{
- temp_set_point_both (buffer, charpos,
- buf_charpos_to_bytepos (buffer, charpos));
-}
-
/* Set point in BUFFER "temporarily" to CHARPOS, which corresponds to
byte position BYTEPOS. */
BUF_PT (buffer) = charpos;
}
+/* Set point "temporarily", without checking any text properties. */
+
+INLINE void
+temp_set_point (struct buffer *buffer, EMACS_INT charpos)
+{
+ temp_set_point_both (buffer, charpos,
+ buf_charpos_to_bytepos (buffer, charpos));
+}
+
/* Set point in BUFFER to CHARPOS. If the target position is
before an intangible character, move to an ok place. */