aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-19 22:48:32 +0000
committerRichard M. Stallman1994-04-19 22:48:32 +0000
commita974bea1983daa0f87c70b7ef4f371198de5cec2 (patch)
treea1db20df32bfe4ae5b02709abfc41b1155a241ae
parent270eee492993d027edaa58b58d87ff87bedeb5c4 (diff)
downloademacs-a974bea1983daa0f87c70b7ef4f371198de5cec2.tar.gz
emacs-a974bea1983daa0f87c70b7ef4f371198de5cec2.zip
(Vlast_event_frame): Define unconditionally.
(syms_of_keyboard): Always make the Lisp var.
-rw-r--r--src/keyboard.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index dd21b63cfdd..753ba028b4b 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -242,12 +242,12 @@ int last_point_position;
242 like Fselect_frame, to make sure that a switch-frame event is 242 like Fselect_frame, to make sure that a switch-frame event is
243 generated by the next character. */ 243 generated by the next character. */
244Lisp_Object internal_last_event_frame; 244Lisp_Object internal_last_event_frame;
245#endif
245 246
246/* A user-visible version of the above, intended to allow users to 247/* A user-visible version of the above, intended to allow users to
247 figure out where the last event came from, if the event doesn't 248 figure out where the last event came from, if the event doesn't
248 carry that information itself (i.e. if it was a character). */ 249 carry that information itself (i.e. if it was a character). */
249Lisp_Object Vlast_event_frame; 250Lisp_Object Vlast_event_frame;
250#endif
251 251
252/* The timestamp of the last input event we received from the X server. 252/* The timestamp of the last input event we received from the X server.
253 X Windows wants this for selection ownership. */ 253 X Windows wants this for selection ownership. */
@@ -5911,12 +5911,10 @@ by position only.");
5911 "*Number of complete keys read from the keyboard so far."); 5911 "*Number of complete keys read from the keyboard so far.");
5912 num_input_keys = 0; 5912 num_input_keys = 0;
5913 5913
5914#ifdef MULTI_FRAME
5915 DEFVAR_LISP ("last-event-frame", &Vlast_event_frame, 5914 DEFVAR_LISP ("last-event-frame", &Vlast_event_frame,
5916 "*The frame in which the most recently read event occurred.\n\ 5915 "*The frame in which the most recently read event occurred.\n\
5917If the last event came from a keyboard macro, this is set to `macro'."); 5916If the last event came from a keyboard macro, this is set to `macro'.");
5918 Vlast_event_frame = Qnil; 5917 Vlast_event_frame = Qnil;
5919#endif
5920 5918
5921 DEFVAR_LISP ("help-char", &Vhelp_char, 5919 DEFVAR_LISP ("help-char", &Vhelp_char,
5922 "Character to recognize as meaning Help.\n\ 5920 "Character to recognize as meaning Help.\n\