diff options
| author | Kim F. Storm | 2003-11-27 21:16:36 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-11-27 21:16:36 +0000 |
| commit | 1365f3435e9ccc3fb6fdd8050e3d411e008585ba (patch) | |
| tree | 18303ec02816899e52be8fa59d3c7c94ab9559e1 /src | |
| parent | 45de137aed5987e2fc90ccc0fe498360e40e6119 (diff) | |
| download | emacs-1365f3435e9ccc3fb6fdd8050e3d411e008585ba.tar.gz emacs-1365f3435e9ccc3fb6fdd8050e3d411e008585ba.zip | |
(EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index 32d638cc60d..6a8e08d41f3 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -250,7 +250,7 @@ extern Lisp_Object item_properties; | |||
| 250 | #define EVENT_END(event) (XCAR (XCDR (XCDR (event)))) | 250 | #define EVENT_END(event) (XCAR (XCDR (XCDR (event)))) |
| 251 | 251 | ||
| 252 | /* Extract the click count from a multi-click event. */ | 252 | /* Extract the click count from a multi-click event. */ |
| 253 | #define EVENT_CLICK_COUNT(event) (Fnth ((event), make_number (2))) | 253 | #define EVENT_CLICK_COUNT(event) (Fnth (make_number (2), (event))) |
| 254 | 254 | ||
| 255 | /* Extract the fields of a position. */ | 255 | /* Extract the fields of a position. */ |
| 256 | #define POSN_WINDOW(posn) (XCAR (posn)) | 256 | #define POSN_WINDOW(posn) (XCAR (posn)) |
| @@ -259,7 +259,7 @@ extern Lisp_Object item_properties; | |||
| 259 | #define POSN_WINDOW_POSN(posn) (XCAR (XCDR (XCDR (posn)))) | 259 | #define POSN_WINDOW_POSN(posn) (XCAR (XCDR (XCDR (posn)))) |
| 260 | #define POSN_TIMESTAMP(posn) \ | 260 | #define POSN_TIMESTAMP(posn) \ |
| 261 | (XCAR (XCDR (XCDR (XCDR (posn))))) | 261 | (XCAR (XCDR (XCDR (XCDR (posn))))) |
| 262 | #define POSN_SCROLLBAR_PART(posn) (Fnth ((posn), make_number (4))) | 262 | #define POSN_SCROLLBAR_PART(posn) (Fnth (make_number (4), (posn))) |
| 263 | 263 | ||
| 264 | /* A cons (STRING . STRING-CHARPOS), or nil in mouse-click events. | 264 | /* A cons (STRING . STRING-CHARPOS), or nil in mouse-click events. |
| 265 | It's a cons if the click is over a string in the mode line. */ | 265 | It's a cons if the click is over a string in the mode line. */ |