comparison src/buffer.h @ 18241:abfa50a22026

(point): Obsolete macro deleted in favor of PT.
author Karl Heuer <kwzh@gnu.org>
date Sat, 14 Jun 1997 04:53:00 +0000
parents 371736608f2f
children a385b772f453
comparison
equal deleted inserted replaced
18240:330dc0ca4edb 18241:abfa50a22026
489 equal to that integer. When a tag does not match, the function 489 equal to that integer. When a tag does not match, the function
490 buffer_slot_type_mismatch will signal an error. The value Qnil may 490 buffer_slot_type_mismatch will signal an error. The value Qnil may
491 always be safely stored in any slot. */ 491 always be safely stored in any slot. */
492 extern struct buffer buffer_local_types; 492 extern struct buffer buffer_local_types;
493 493
494 /* Point in the current buffer. This is an obsolete alias
495 and should be eliminated. */
496 #define point (current_buffer->pt + 0)
497
498 /* Return the address of position N. No range checking. */ 494 /* Return the address of position N. No range checking. */
499 #define POS_ADDR(n) (((n)>= GPT ? GAP_SIZE : 0) + (n) + BEG_ADDR - 1) 495 #define POS_ADDR(n) (((n)>= GPT ? GAP_SIZE : 0) + (n) + BEG_ADDR - 1)
500 496
501 /* Return the byte at position N. No range checking. */ 497 /* Return the byte at position N. No range checking. */
502 #define FETCH_BYTE(n) *(POS_ADDR ((n))) 498 #define FETCH_BYTE(n) *(POS_ADDR ((n)))