]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_unsplittable): New function.
authorKarl Heuer <kwzh@gnu.org>
Tue, 18 Oct 1994 02:32:43 +0000 (02:32 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 18 Oct 1994 02:32:43 +0000 (02:32 +0000)
(x_frame_parms): Add that function to the table.

src/xfns.c

index 68102501db579d2da3b8f1d3c17c5ea3bb3b7dd0..faeceaa915d50e555d72c3134ba3d2cc100a6813 100644 (file)
@@ -638,6 +638,7 @@ void x_set_vertical_scroll_bars ();
 void x_set_visibility ();
 void x_set_menu_bar_lines ();
 void x_set_scroll_bar_width ();
+void x_set_unsplittable ();
 
 static struct x_frame_parm_table x_frame_parms[] =
 {
@@ -658,6 +659,7 @@ static struct x_frame_parm_table x_frame_parms[] =
   "visibility", x_set_visibility,
   "menu-bar-lines", x_set_menu_bar_lines,
   "scroll-bar-width", x_set_scroll_bar_width,
+  "unsplittable", x_set_unsplittable,
 };
 
 /* Attach the `x-frame-parameter' properties to
@@ -1617,6 +1619,14 @@ x_set_autolower (f, arg, oldval)
   f->auto_lower = !EQ (Qnil, arg);
 }
 
+void
+x_set_unsplittable (f, arg, oldval)
+     struct frame *f;
+     Lisp_Object arg, oldval;
+{
+  f->no_split = !NILP (arg);
+}
+
 void
 x_set_vertical_scroll_bars (f, arg, oldval)
      struct frame *f;