diff options
| author | Gerd Moellmann | 2000-04-04 21:07:45 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-04-04 21:07:45 +0000 |
| commit | 4d3edcb4c751613c7f0986924db91a1cf9290292 (patch) | |
| tree | cc5062553f3f8c083c19776a0d9ab4bdb6ae7605 /src | |
| parent | 1ea1fb7e14fe150681298a9d4ec85c4bb80d0b0e (diff) | |
| download | emacs-4d3edcb4c751613c7f0986924db91a1cf9290292.tar.gz emacs-4d3edcb4c751613c7f0986924db91a1cf9290292.zip | |
(compare_window_configurations): Signal an error
if parameters C1 or C2 aren't window configurations.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index 8e643ee5c76..f156c469703 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -5081,6 +5081,11 @@ compare_window_configurations (c1, c2, ignore_positions) | |||
| 5081 | struct Lisp_Vector *sw1, *sw2; | 5081 | struct Lisp_Vector *sw1, *sw2; |
| 5082 | int i; | 5082 | int i; |
| 5083 | 5083 | ||
| 5084 | if (!WINDOW_CONFIGURATIONP (c1)) | ||
| 5085 | wrong_type_argument (Qwindow_configuration_p, c1); | ||
| 5086 | if (!WINDOW_CONFIGURATIONP (c2)) | ||
| 5087 | wrong_type_argument (Qwindow_configuration_p, c2); | ||
| 5088 | |||
| 5084 | d1 = (struct save_window_data *) XVECTOR (c1); | 5089 | d1 = (struct save_window_data *) XVECTOR (c1); |
| 5085 | d2 = (struct save_window_data *) XVECTOR (c2); | 5090 | d2 = (struct save_window_data *) XVECTOR (c2); |
| 5086 | sw1 = XVECTOR (d1->saved_windows); | 5091 | sw1 = XVECTOR (d1->saved_windows); |