summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-12-11 10:46:18 +0200
committerEli Zaretskii <eliz@gnu.org>2015-12-11 10:46:18 +0200
commit1db9d8bd0fb41bda3cc8027ec0cf27aade71b400 (patch)
treefee1506360acc80212fa24fd2add5e93b94c480b /src/frame.c
parentb3277c7d3913ccedfac36c27ab657901e4f131b4 (diff)
downloademacs-1db9d8bd0fb41bda3cc8027ec0cf27aade71b400.tar.gz
Clarify documentation of 'modify-frame-parameters'
* doc/lispref/frames.texi (Parameter Access): Clarify what "ignored PARMs" mean for 'modify-frame-parameters'. * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored PARMs" mean for this function. (Bug#22104)
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/frame.c b/src/frame.c
index c388986e351..4897052e1f9 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2641,13 +2641,16 @@ If FRAME is nil, describe the currently selected frame. */)
DEFUN ("modify-frame-parameters", Fmodify_frame_parameters,
Smodify_frame_parameters, 2, 2, 0,
- doc: /* Modify the parameters of frame FRAME according to ALIST.
+ doc: /* Modify FRAME according to new values of its parameters in ALIST.
If FRAME is nil, it defaults to the selected frame.
ALIST is an alist of parameters to change and their new values.
Each element of ALIST has the form (PARM . VALUE), where PARM is a symbol.
-The meaningful PARMs depend on the kind of frame.
-Undefined PARMs are ignored, but stored in the frame's parameter list
-so that `frame-parameters' will return them.
+Which PARMs are meaningful depends on the kind of frame.
+The meaningful parameters are acted upon, i.e. the frame is changed
+according to their new values, and are also stored in the frame's
+parameter list so that `frame-parameters' will return them.
+PARMs that are not meaningful are still stored in the frame's parameter
+list, but are otherwise ignored.
The value of frame parameter FOO can also be accessed
as a frame-local binding for the variable FOO, if you have