From: Richard M. Stallman Date: Mon, 11 Apr 1994 21:34:38 +0000 (+0000) Subject: (make_lispy_movement): Conditionalize on MULTI_FRAME. X-Git-Tag: emacs-19.34~9048 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6cbff1cb500ac8b2bf80536cf6f0c2329bb82abf;p=emacs.git (make_lispy_movement): Conditionalize on MULTI_FRAME. (kbd_buffer_get_event): Call make_lispy_movement only if MULTI_FRAME. --- diff --git a/src/keyboard.c b/src/keyboard.c index dcda52ba441..c9eb36c03d3 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -2088,13 +2088,13 @@ kbd_buffer_get_event () obj = make_lispy_switch_frame (frame); internal_last_event_frame = frame; } -#endif /* If we didn't decide to make a switch-frame event, go ahead and return a mouse-motion event. */ if (NILP (obj)) obj = make_lispy_movement (f, bar_window, part, x, y, time); - } +#endif + } else /* We were promised by the above while loop that there was something for us to read! */ @@ -2698,6 +2698,8 @@ make_lispy_event (event) } } +#ifdef MULTI_FRAME + static Lisp_Object make_lispy_movement (frame, bar_window, part, x, y, time) FRAME_PTR frame; @@ -2777,6 +2779,8 @@ make_lispy_movement (frame, bar_window, part, x, y, time) } } +#endif /* MULTI_FRAME */ + /* Construct a switch frame event. */ static Lisp_Object make_lispy_switch_frame (frame)