HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea1fb7
)
(compare_window_configurations): Signal an error
author
Gerd Moellmann
<gerd@gnu.org>
Tue, 4 Apr 2000 21:07:45 +0000
(21:07 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Tue, 4 Apr 2000 21:07:45 +0000
(21:07 +0000)
if parameters C1 or C2 aren't window configurations.
src/window.c
patch
|
blob
|
blame
|
history
diff --git
a/src/window.c
b/src/window.c
index
8e643ee
..
f156c46
100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-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);