emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xfns.c


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/src/xfns.c
Date: Mon, 19 Dec 2005 04:28:01 +0000

Index: emacs/src/xfns.c
diff -u emacs/src/xfns.c:1.652 emacs/src/xfns.c:1.653
--- emacs/src/xfns.c:1.652      Wed Dec 14 20:58:33 2005
+++ emacs/src/xfns.c    Mon Dec 19 04:28:00 2005
@@ -5522,7 +5522,8 @@
        doc: /* Check if both Backspace and Delete keys are on the keyboard of 
FRAME.
 FRAME nil means use the selected frame.
 Value is t if we know that both keys are present, and are mapped to the
-usual X keysyms.  */)
+usual X keysyms.  Value is `lambda' if we cannot determine if both keys are
+present and mapped to the usual X keysyms.  */)
      (frame)
      Lisp_Object frame;
 {
@@ -5541,7 +5542,7 @@
   if (!XkbLibraryVersion (&major, &minor))
     {
       UNBLOCK_INPUT;
-      return Qnil;
+      return Qlambda;
     }
 
   /* Check that the server supports XKB.  */
@@ -5550,7 +5551,7 @@
   if (!XkbQueryExtension (dpy, &op, &event, &error, &major, &minor))
     {
       UNBLOCK_INPUT;
-      return Qnil;
+      return Qlambda;
     }
 
   /* In this code we check that the keyboard has physical keys with names
@@ -5605,7 +5606,7 @@
   UNBLOCK_INPUT;
   return have_keys;
 #else /* not HAVE_XKBGETKEYBOARD */
-  return Qnil;
+  return Qlambda;
 #endif /* not HAVE_XKBGETKEYBOARD */
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]