changeset 3134:efdaaa695ad4

(x_set_cursor_type): If arg not recognized, use box cursor.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 May 1993 20:33:32 +0000
parents 2c1553d7aad1
children c344fe6cca79
files src/xfns.c
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Wed May 26 20:28:11 1993 +0000
+++ b/src/xfns.c	Wed May 26 20:33:32 1993 +0000
@@ -758,11 +758,18 @@
 {
   if (EQ (arg, Qbar))
     FRAME_DESIRED_CURSOR (f) = bar_cursor;
-  else if (EQ (arg, Qbox))
-    FRAME_DESIRED_CURSOR (f) = filled_box_cursor;
+  else
+#if 0
+    if (EQ (arg, Qbox))
+#endif
+      FRAME_DESIRED_CURSOR (f) = filled_box_cursor;
+  /* Error messages commented out because people have trouble fixing
+     .Xdefaults with Emacs, when it has something bad in it.  */
+#if 0
   else
     error
       ("the `cursor-type' frame parameter should be either `bar' or `box'");
+#endif
 
   /* Make sure the cursor gets redrawn.  This is overkill, but how
      often do people change cursor types?  */