diff options
| author | Karl Heuer | 1994-10-18 02:32:43 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-10-18 02:32:43 +0000 |
| commit | eac358efdda83be41da19e8f224771d624a53951 (patch) | |
| tree | 2dc4ba621090867945a09b39b7100b63e6cd5a65 /src | |
| parent | 610c25c1bf15b2c6b4acb662c80b35a59e666c68 (diff) | |
| download | emacs-eac358efdda83be41da19e8f224771d624a53951.tar.gz emacs-eac358efdda83be41da19e8f224771d624a53951.zip | |
(x_set_unsplittable): New function.
(x_frame_parms): Add that function to the table.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c index 68102501db5..faeceaa915d 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -638,6 +638,7 @@ void x_set_vertical_scroll_bars (); | |||
| 638 | void x_set_visibility (); | 638 | void x_set_visibility (); |
| 639 | void x_set_menu_bar_lines (); | 639 | void x_set_menu_bar_lines (); |
| 640 | void x_set_scroll_bar_width (); | 640 | void x_set_scroll_bar_width (); |
| 641 | void x_set_unsplittable (); | ||
| 641 | 642 | ||
| 642 | static struct x_frame_parm_table x_frame_parms[] = | 643 | static struct x_frame_parm_table x_frame_parms[] = |
| 643 | { | 644 | { |
| @@ -658,6 +659,7 @@ static struct x_frame_parm_table x_frame_parms[] = | |||
| 658 | "visibility", x_set_visibility, | 659 | "visibility", x_set_visibility, |
| 659 | "menu-bar-lines", x_set_menu_bar_lines, | 660 | "menu-bar-lines", x_set_menu_bar_lines, |
| 660 | "scroll-bar-width", x_set_scroll_bar_width, | 661 | "scroll-bar-width", x_set_scroll_bar_width, |
| 662 | "unsplittable", x_set_unsplittable, | ||
| 661 | }; | 663 | }; |
| 662 | 664 | ||
| 663 | /* Attach the `x-frame-parameter' properties to | 665 | /* Attach the `x-frame-parameter' properties to |
| @@ -1618,6 +1620,14 @@ x_set_autolower (f, arg, oldval) | |||
| 1618 | } | 1620 | } |
| 1619 | 1621 | ||
| 1620 | void | 1622 | void |
| 1623 | x_set_unsplittable (f, arg, oldval) | ||
| 1624 | struct frame *f; | ||
| 1625 | Lisp_Object arg, oldval; | ||
| 1626 | { | ||
| 1627 | f->no_split = !NILP (arg); | ||
| 1628 | } | ||
| 1629 | |||
| 1630 | void | ||
| 1621 | x_set_vertical_scroll_bars (f, arg, oldval) | 1631 | x_set_vertical_scroll_bars (f, arg, oldval) |
| 1622 | struct frame *f; | 1632 | struct frame *f; |
| 1623 | Lisp_Object arg, oldval; | 1633 | Lisp_Object arg, oldval; |