comparison src/window.c @ 18065:34f4e691486e

(Fsplit_window): Ignore FRAME_NO_SPLIT_P here. (inhibit_frame_unsplittable): Variable deleted. (syms_of_window): Don't set up Lisp variable.
author Richard M. Stallman <rms@gnu.org>
date Sat, 31 May 1997 05:50:22 +0000
parents 8621a73a8890
children d65021d5c39e
comparison
equal deleted inserted replaced
18064:a76beaa93249 18065:34f4e691486e
2395 size_int = XINT (size); 2395 size_int = XINT (size);
2396 } 2396 }
2397 2397
2398 if (MINI_WINDOW_P (o)) 2398 if (MINI_WINDOW_P (o))
2399 error ("Attempt to split minibuffer window"); 2399 error ("Attempt to split minibuffer window");
2400 else if (FRAME_NO_SPLIT_P (fo) && ! inhibit_frame_unsplittable)
2401 error ("Attempt to split unsplittable frame");
2402 2400
2403 check_min_window_sizes (); 2401 check_min_window_sizes ();
2404 2402
2405 if (NILP (horflag)) 2403 if (NILP (horflag))
2406 { 2404 {
3776 DEFVAR_LISP ("window-configuration-change-hook", 3774 DEFVAR_LISP ("window-configuration-change-hook",
3777 &Vwindow_configuration_change_hook, 3775 &Vwindow_configuration_change_hook,
3778 "Functions to call when window configuration changes.\n\ 3776 "Functions to call when window configuration changes.\n\
3779 The selected frae is the one whose configuration has changed."); 3777 The selected frae is the one whose configuration has changed.");
3780 Vwindow_configuration_change_hook = Qnil; 3778 Vwindow_configuration_change_hook = Qnil;
3781
3782 DEFVAR_BOOL ("inhibit-frame-unsplittable", &inhibit_frame_unsplittable,
3783 "Non-nil means allow splitting an `unsplittable' frame.\n\
3784 \(That means, a frame whise `unsplittable' parameter is non-nil.)\n\
3785 Packages such as Ispell that work by splitting the selected frame\n\
3786 can bind this, so that they will work when used in an unsplittable frame.");
3787 inhibit_frame_unsplittable = 0;
3788 3779
3789 defsubr (&Sselected_window); 3780 defsubr (&Sselected_window);
3790 defsubr (&Sminibuffer_window); 3781 defsubr (&Sminibuffer_window);
3791 defsubr (&Swindow_minibuffer_p); 3782 defsubr (&Swindow_minibuffer_p);
3792 defsubr (&Swindowp); 3783 defsubr (&Swindowp);