diff options
| author | Eli Zaretskii | 2015-12-11 10:46:18 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-12-11 10:46:18 +0200 |
| commit | 1db9d8bd0fb41bda3cc8027ec0cf27aade71b400 (patch) | |
| tree | fee1506360acc80212fa24fd2add5e93b94c480b /src/frame.c | |
| parent | b3277c7d3913ccedfac36c27ab657901e4f131b4 (diff) | |
| download | emacs-1db9d8bd0fb41bda3cc8027ec0cf27aade71b400.tar.gz emacs-1db9d8bd0fb41bda3cc8027ec0cf27aade71b400.zip | |
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.c | 11 |
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. */) | |||
| 2641 | 2641 | ||
| 2642 | DEFUN ("modify-frame-parameters", Fmodify_frame_parameters, | 2642 | DEFUN ("modify-frame-parameters", Fmodify_frame_parameters, |
| 2643 | Smodify_frame_parameters, 2, 2, 0, | 2643 | Smodify_frame_parameters, 2, 2, 0, |
| 2644 | doc: /* Modify the parameters of frame FRAME according to ALIST. | 2644 | doc: /* Modify FRAME according to new values of its parameters in ALIST. |
| 2645 | If FRAME is nil, it defaults to the selected frame. | 2645 | If FRAME is nil, it defaults to the selected frame. |
| 2646 | ALIST is an alist of parameters to change and their new values. | 2646 | ALIST is an alist of parameters to change and their new values. |
| 2647 | Each element of ALIST has the form (PARM . VALUE), where PARM is a symbol. | 2647 | Each element of ALIST has the form (PARM . VALUE), where PARM is a symbol. |
| 2648 | The meaningful PARMs depend on the kind of frame. | 2648 | Which PARMs are meaningful depends on the kind of frame. |
| 2649 | Undefined PARMs are ignored, but stored in the frame's parameter list | 2649 | The meaningful parameters are acted upon, i.e. the frame is changed |
| 2650 | so that `frame-parameters' will return them. | 2650 | according to their new values, and are also stored in the frame's |
| 2651 | parameter list so that `frame-parameters' will return them. | ||
| 2652 | PARMs that are not meaningful are still stored in the frame's parameter | ||
| 2653 | list, but are otherwise ignored. | ||
| 2651 | 2654 | ||
| 2652 | The value of frame parameter FOO can also be accessed | 2655 | The value of frame parameter FOO can also be accessed |
| 2653 | as a frame-local binding for the variable FOO, if you have | 2656 | as a frame-local binding for the variable FOO, if you have |