diff options
| author | Gerd Moellmann | 1999-11-11 11:45:06 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-11-11 11:45:06 +0000 |
| commit | 339ee9797d7d80d6b934e6a335c57d39303bbdcc (patch) | |
| tree | 4ff4b35d61aa3f78d65f7de698c2a54a4cdb4508 /src/buffer.h | |
| parent | 35a5514b96c8ae655e2a6995c2f0ff2a07de65ab (diff) | |
| download | emacs-339ee9797d7d80d6b934e6a335c57d39303bbdcc.tar.gz emacs-339ee9797d7d80d6b934e6a335c57d39303bbdcc.zip | |
Remove USE_TEXT_PROPERTIES.
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 17 |
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)); | |||
| 218 | extern void set_point_both P_ ((struct buffer *, int, int)); | 217 | extern void set_point_both P_ ((struct buffer *, int, int)); |
| 219 | extern INLINE void temp_set_point_both P_ ((struct buffer *, int, int)); | 218 | extern 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 | ||