# HG changeset patch # User Jim Blandy # Date 718070685 0 # Node ID ddbcabc6dcc975f0e5e8d54bf5cf40cded7112ec # Parent 540110352c0d46ef07281cdca59cdc6805e6b979 Doc fixes. diff -r 540110352c0d -r ddbcabc6dcc9 src/keyboard.h --- a/src/keyboard.h Sat Oct 03 00:01:09 1992 +0000 +++ b/src/keyboard.h Sat Oct 03 00:04:45 1992 +0000 @@ -37,15 +37,16 @@ #define EVENT_HAS_PARAMETERS(event) \ (XTYPE (event) == Lisp_Cons) -/* Return the head of an event. This works on composite and simple events. */ +/* Extract the head from an event. + This works on composite and simple events. */ #define EVENT_HEAD(event) \ (EVENT_HAS_PARAMETERS (event) ? XCONS (event)->car : (event)) -/* Return the starting and ending locations of a composite event. */ +/* Extract the starting and ending positions from a composite event. */ #define EVENT_START(event) (XCONS (XCONS (event)->cdr)->car) #define EVENT_END(event) (XCONS (XCONS (XCONS (event)->cdr)->cdr)->car) -/* Return the fields of a position. */ +/* Extract the fields of a position. */ #define POSN_WINDOW(posn) (XCONS (posn)->car) #define POSN_BUFFER_POSN(posn) (XCONS (XCONS (posn)->cdr)->car) #define POSN_SCROLLBAR_BUTTON POSN_BUFFER_POSN