aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 617a2fe1445..a3e87c8f205 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -199,7 +199,6 @@ Boston, MA 02111-1307, USA. */
199 199
200/* Macros to set PT in the current buffer, or another buffer.. */ 200/* Macros to set PT in the current buffer, or another buffer.. */
201 201
202#ifdef USE_TEXT_PROPERTIES
203#define SET_PT(position) (set_point (current_buffer, (position))) 202#define SET_PT(position) (set_point (current_buffer, (position)))
204#define TEMP_SET_PT(position) (temp_set_point (current_buffer, (position))) 203#define TEMP_SET_PT(position) (temp_set_point (current_buffer, (position)))
205 204
@@ -218,22 +217,6 @@ extern INLINE void temp_set_point P_ ((struct buffer *, int));
218extern void set_point_both P_ ((struct buffer *, int, int)); 217extern void set_point_both P_ ((struct buffer *, int, int));
219extern INLINE void temp_set_point_both P_ ((struct buffer *, int, int)); 218extern INLINE void temp_set_point_both P_ ((struct buffer *, int, int));
220 219
221#else /* don't support text properties */
222
223#define SET_PT(position) (current_buffer->pt = (position))
224#define TEMP_SET_PT(position) (current_buffer->pt = (position))
225
226#define SET_PT_BOTH(position, byte) \
227 (current_buffer->pt = (position), \
228 current_buffer->pt_byte = (byte))
229
230#define TEMP_SET_PT_BOTH(position, byte) \
231 (current_buffer->pt = (position), \
232 current_buffer->pt_byte = (byte))
233
234#define BUF_SET_PT(buffer, position) (buffer->pt = (position))
235#define BUF_TEMP_SET_PT(buffer, position) (buffer->pt = (position))
236#endif /* don't support text properties */
237 220
238/* Macros for setting the BEGV, ZV or PT of a given buffer. 221/* Macros for setting the BEGV, ZV or PT of a given buffer.
239 222