diff options
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/buffer.h b/src/buffer.h index eb1f0a71686..a12e72374ed 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -208,22 +208,22 @@ Boston, MA 02110-1301, USA. */ | |||
| 208 | 208 | ||
| 209 | /* Macros to set PT in the current buffer, or another buffer. */ | 209 | /* Macros to set PT in the current buffer, or another buffer. */ |
| 210 | 210 | ||
| 211 | #define SET_PT(position) (set_point (current_buffer, (position))) | 211 | #define SET_PT(position) (set_point (position)) |
| 212 | #define TEMP_SET_PT(position) (temp_set_point (current_buffer, (position))) | 212 | #define TEMP_SET_PT(position) (temp_set_point (current_buffer, (position))) |
| 213 | 213 | ||
| 214 | #define SET_PT_BOTH(position, byte) \ | 214 | #define SET_PT_BOTH(position, byte) (set_point_both (position, byte)) |
| 215 | (set_point_both (current_buffer, (position), (byte))) | ||
| 216 | #define TEMP_SET_PT_BOTH(position, byte) \ | 215 | #define TEMP_SET_PT_BOTH(position, byte) \ |
| 217 | (temp_set_point_both (current_buffer, (position), (byte))) | 216 | (temp_set_point_both (current_buffer, (position), (byte))) |
| 218 | 217 | ||
| 219 | #define BUF_TEMP_SET_PT(buffer, position) \ | 218 | #define BUF_TEMP_SET_PT(buffer, position) \ |
| 220 | (temp_set_point ((buffer), (position))) | 219 | (temp_set_point ((buffer), (position))) |
| 221 | 220 | ||
| 222 | extern void set_point P_ ((struct buffer *, int)); | 221 | extern void set_point P_ ((EMACS_INT)); |
| 223 | extern INLINE void temp_set_point P_ ((struct buffer *, int)); | 222 | extern INLINE void temp_set_point P_ ((struct buffer *, EMACS_INT)); |
| 224 | extern void set_point_both P_ ((struct buffer *, int, int)); | 223 | extern void set_point_both P_ ((EMACS_INT, EMACS_INT)); |
| 225 | extern INLINE void temp_set_point_both P_ ((struct buffer *, int, int)); | 224 | extern INLINE void temp_set_point_both P_ ((struct buffer *, |
| 226 | extern void enlarge_buffer_text P_ ((struct buffer *, int)); | 225 | EMACS_INT, EMACS_INT)); |
| 226 | extern void enlarge_buffer_text P_ ((struct buffer *, EMACS_INT)); | ||
| 227 | 227 | ||
| 228 | 228 | ||
| 229 | /* Macros for setting the BEGV, ZV or PT of a given buffer. | 229 | /* Macros for setting the BEGV, ZV or PT of a given buffer. |