mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-04 04:11:58 -07:00
(compare_window_configurations): Signal an error
if parameters C1 or C2 aren't window configurations.
This commit is contained in:
parent
1ea1fb7e14
commit
4d3edcb4c7
1 changed files with 5 additions and 0 deletions
|
|
@ -5081,6 +5081,11 @@ compare_window_configurations (c1, c2, ignore_positions)
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue