From: Eli Zaretskii Date: Fri, 15 Jun 2018 14:45:27 +0000 (+0300) Subject: Fix building --without-x and similar X-Git-Tag: emacs-27.0.90~4850 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4221809b00e526892b7ff3979b3829eb493f0616;p=emacs.git Fix building --without-x and similar * src/keyboard.c (make_lispy_focus_out): Compile it unconditionally, as it is now supported on TTYs as well. Reported by Filipp Gunbin . --- diff --git a/src/keyboard.c b/src/keyboard.c index 12fc33787a3..540991872a5 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -360,9 +360,7 @@ static Lisp_Object modify_event_symbol (ptrdiff_t, int, Lisp_Object, Lisp_Object *, ptrdiff_t); static Lisp_Object make_lispy_switch_frame (Lisp_Object); static Lisp_Object make_lispy_focus_in (Lisp_Object); -#ifdef HAVE_WINDOW_SYSTEM static Lisp_Object make_lispy_focus_out (Lisp_Object); -#endif /* HAVE_WINDOW_SYSTEM */ static bool help_char_p (Lisp_Object); static void save_getcjmp (sys_jmp_buf); static void restore_getcjmp (sys_jmp_buf); @@ -6047,16 +6045,12 @@ make_lispy_focus_in (Lisp_Object frame) return list2 (Qfocus_in, frame); } -#ifdef HAVE_WINDOW_SYSTEM - static Lisp_Object make_lispy_focus_out (Lisp_Object frame) { return list2 (Qfocus_out, frame); } -#endif /* HAVE_WINDOW_SYSTEM */ - /* Manipulating modifiers. */ /* Parse the name of SYMBOL, and return the set of modifiers it contains.