Mercurial > emacs
diff src/window.c @ 28505:b5a7eb24964c
(compare_window_configurations): Signal an error
if parameters C1 or C2 aren't window configurations.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Tue, 04 Apr 2000 21:07:45 +0000 |
| parents | 4591d285fb65 |
| children | 5f7ccec488b5 |
line wrap: on
line diff
--- a/src/window.c Tue Apr 04 21:04:34 2000 +0000 +++ b/src/window.c Tue Apr 04 21:07:45 2000 +0000 @@ -5081,6 +5081,11 @@ struct Lisp_Vector *sw1, *sw2; int i; + if (!WINDOW_CONFIGURATIONP (c1)) + wrong_type_argument (Qwindow_configuration_p, c1); + if (!WINDOW_CONFIGURATIONP (c2)) + wrong_type_argument (Qwindow_configuration_p, c2); + d1 = (struct save_window_data *) XVECTOR (c1); d2 = (struct save_window_data *) XVECTOR (c2); sw1 = XVECTOR (d1->saved_windows);
