aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2013-03-26 22:13:31 -0700
committerPaul Eggert2013-03-26 22:13:31 -0700
commitafeee3e5783916f2860d1ab30b17d89b11abccb7 (patch)
treec399a756b0d8edfebe4493f2bedcc4adea59df85 /src
parentab9a3f05c8621bbd6b05c8e4c02192c852ea03bf (diff)
downloademacs-afeee3e5783916f2860d1ab30b17d89b11abccb7.tar.gz
emacs-afeee3e5783916f2860d1ab30b17d89b11abccb7.zip
* configure.ac (HAVE_XKBGETKEYBOARD): Remove; subsumed by HAVE_XKB.
All uses changed.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xfns.c b/src/xfns.c
index a6a179be97d..e24d3981a09 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5591,7 +5591,7 @@ nil, it defaults to the selected frame. */)
5591 Keyboard 5591 Keyboard
5592 ***********************************************************************/ 5592 ***********************************************************************/
5593 5593
5594#ifdef HAVE_XKBGETKEYBOARD 5594#ifdef HAVE_XKB
5595#include <X11/XKBlib.h> 5595#include <X11/XKBlib.h>
5596#include <X11/keysym.h> 5596#include <X11/keysym.h>
5597#endif 5597#endif
@@ -5605,7 +5605,9 @@ usual X keysyms. Value is `lambda' if we cannot determine if both keys are
5605present and mapped to the usual X keysyms. */) 5605present and mapped to the usual X keysyms. */)
5606 (Lisp_Object frame) 5606 (Lisp_Object frame)
5607{ 5607{
5608#ifdef HAVE_XKBGETKEYBOARD 5608#ifndef HAVE_XKB
5609 return Qlambda;
5610#else
5609 XkbDescPtr kb; 5611 XkbDescPtr kb;
5610 struct frame *f = check_x_frame (frame); 5612 struct frame *f = check_x_frame (frame);
5611 Display *dpy = FRAME_X_DISPLAY (f); 5613 Display *dpy = FRAME_X_DISPLAY (f);
@@ -5683,9 +5685,7 @@ present and mapped to the usual X keysyms. */)
5683 } 5685 }
5684 unblock_input (); 5686 unblock_input ();
5685 return have_keys; 5687 return have_keys;
5686#else /* not HAVE_XKBGETKEYBOARD */ 5688#endif
5687 return Qlambda;
5688#endif /* not HAVE_XKBGETKEYBOARD */
5689} 5689}
5690 5690
5691 5691