aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog6
-rw-r--r--src/w32fns.c13
-rw-r--r--src/xfns.c11
3 files changed, 19 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index bb9fabfaa8e..0f1a0bdc666 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2
3 * w32fns.c (Fx_window_property): Accept the same arguments as the
4 X Windows version. Doc fix.
5 * xfns.c (Fx_window_property): Doc fix. (Bug#11870)
6
12012-07-06 Juanma Barranquero <lekktu@gmail.com> 72012-07-06 Juanma Barranquero <lekktu@gmail.com>
2 Eli Zaretskii <eliz@gnu.org> 8 Eli Zaretskii <eliz@gnu.org>
3 9
diff --git a/src/w32fns.c b/src/w32fns.c
index 99eca5c77b5..babc1e76cfc 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -4944,23 +4944,24 @@ FRAME nil or omitted means use the selected frame. Value is PROP. */)
4944 4944
4945 4945
4946DEFUN ("x-window-property", Fx_window_property, Sx_window_property, 4946DEFUN ("x-window-property", Fx_window_property, Sx_window_property,
4947 1, 2, 0, 4947 1, 6, 0,
4948 doc: /* Value is the value of window property PROP on FRAME. 4948 doc: /* Value is the value of window property PROP on FRAME.
4949If FRAME is nil or omitted, use the selected frame. 4949If FRAME is nil or omitted, use the selected frame.
4950 4950
4951On MS Windows, this function only accepts the PROP and FRAME arguments.
4952
4953On X Windows, the following optional arguments are also accepted: 4951On X Windows, the following optional arguments are also accepted:
4954If TYPE is nil or omitted, get the property as a string. 4952If TYPE is nil or omitted, get the property as a string.
4955Otherwise TYPE is the name of the atom that denotes the type expected. 4953Otherwise TYPE is the name of the atom that denotes the type expected.
4956If SOURCE is non-nil, get the property on that window instead of from 4954If SOURCE is non-nil, get the property on that window instead of from
4957FRAME. The number 0 denotes the root window. 4955FRAME. The number 0 denotes the root window.
4958If DELETE_P is non-nil, delete the property after retrieving it. 4956If DELETE-P is non-nil, delete the property after retrieving it.
4959If VECTOR_RET_P is non-nil, don't return a string but a vector of values. 4957If VECTOR-RET-P is non-nil, don't return a string but a vector of values.
4958
4959On MS Windows, this function accepts but ignores those optional arguments.
4960 4960
4961Value is nil if FRAME hasn't a property with name PROP or if PROP has 4961Value is nil if FRAME hasn't a property with name PROP or if PROP has
4962no value of TYPE (always string in the MS Windows case). */) 4962no value of TYPE (always string in the MS Windows case). */)
4963 (Lisp_Object prop, Lisp_Object frame) 4963 (Lisp_Object prop, Lisp_Object frame, Lisp_Object type,
4964 Lisp_Object source, Lisp_Object delete_p, Lisp_Object vector_ret_p)
4964{ 4965{
4965 struct frame *f = check_x_frame (frame); 4966 struct frame *f = check_x_frame (frame);
4966 Atom prop_atom; 4967 Atom prop_atom;
diff --git a/src/xfns.c b/src/xfns.c
index ec729fab566..01ff62fcc48 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4292,19 +4292,20 @@ DEFUN ("x-window-property", Fx_window_property, Sx_window_property,
4292 doc: /* Value is the value of window property PROP on FRAME. 4292 doc: /* Value is the value of window property PROP on FRAME.
4293If FRAME is nil or omitted, use the selected frame. 4293If FRAME is nil or omitted, use the selected frame.
4294 4294
4295On MS Windows, this function only accepts the PROP and FRAME arguments.
4296
4297On X Windows, the following optional arguments are also accepted: 4295On X Windows, the following optional arguments are also accepted:
4298If TYPE is nil or omitted, get the property as a string. 4296If TYPE is nil or omitted, get the property as a string.
4299Otherwise TYPE is the name of the atom that denotes the type expected. 4297Otherwise TYPE is the name of the atom that denotes the type expected.
4300If SOURCE is non-nil, get the property on that window instead of from 4298If SOURCE is non-nil, get the property on that window instead of from
4301FRAME. The number 0 denotes the root window. 4299FRAME. The number 0 denotes the root window.
4302If DELETE_P is non-nil, delete the property after retrieving it. 4300If DELETE-P is non-nil, delete the property after retrieving it.
4303If VECTOR_RET_P is non-nil, don't return a string but a vector of values. 4301If VECTOR-RET-P is non-nil, don't return a string but a vector of values.
4302
4303On MS Windows, this function accepts but ignores those optional arguments.
4304 4304
4305Value is nil if FRAME hasn't a property with name PROP or if PROP has 4305Value is nil if FRAME hasn't a property with name PROP or if PROP has
4306no value of TYPE (always string in the MS Windows case). */) 4306no value of TYPE (always string in the MS Windows case). */)
4307 (Lisp_Object prop, Lisp_Object frame, Lisp_Object type, Lisp_Object source, Lisp_Object delete_p, Lisp_Object vector_ret_p) 4307 (Lisp_Object prop, Lisp_Object frame, Lisp_Object type,
4308 Lisp_Object source, Lisp_Object delete_p, Lisp_Object vector_ret_p)
4308{ 4309{
4309 struct frame *f = check_x_frame (frame); 4310 struct frame *f = check_x_frame (frame);
4310 Atom prop_atom; 4311 Atom prop_atom;