aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-07-21 21:43:52 +0000
committerGerd Moellmann1999-07-21 21:43:52 +0000
commit6e0adcfa04ca8d0655e645515f90f129e958a84a (patch)
treef6e2cc3d9e11b8893f464c3a896e1802814a5ba8
parent2d8c80b12e2496188513663162d7756c1ccf91d3 (diff)
downloademacs-6e0adcfa04ca8d0655e645515f90f129e958a84a.tar.gz
emacs-6e0adcfa04ca8d0655e645515f90f129e958a84a.zip
(POSN_STRING): New.
-rw-r--r--src/keyboard.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index ac31eb1f291..64591fb8565 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -265,6 +265,11 @@ extern Lisp_Object item_properties;
265 (XCONS (XCONS (XCONS (XCONS (posn)->cdr)->cdr)->cdr)->car) 265 (XCONS (XCONS (XCONS (XCONS (posn)->cdr)->cdr)->cdr)->car)
266#define POSN_SCROLLBAR_PART(posn) (Fnth ((posn), make_number (4))) 266#define POSN_SCROLLBAR_PART(posn) (Fnth ((posn), make_number (4)))
267 267
268/* A cons (STRING . STRING-CHARPOS), or nil in mouse-click events.
269 It's a cons if the click is over a string in the mode line. */
270
271#define POSN_STRING(POSN) Fnth (make_number (4), (POSN))
272
268/* Some of the event heads. */ 273/* Some of the event heads. */
269extern Lisp_Object Qswitch_frame; 274extern Lisp_Object Qswitch_frame;
270 275
@@ -284,7 +289,7 @@ extern Lisp_Object Qscroll_bar_movement;
284 (Fget ((event_head), Qevent_kind)) 289 (Fget ((event_head), Qevent_kind))
285 290
286/* Symbols to use for non-text mouse positions. */ 291/* Symbols to use for non-text mouse positions. */
287extern Lisp_Object Qmode_line, Qvertical_line; 292extern Lisp_Object Qmode_line, Qvertical_line, Qtop_line;
288 293
289/* Forward declaration for prototypes. */ 294/* Forward declaration for prototypes. */
290struct input_event; 295struct input_event;