aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2008-10-15 12:25:19 +0000
committerEli Zaretskii2008-10-15 12:25:19 +0000
commit4fb04348e54f91a29de30057896bb351b11377a8 (patch)
tree335b0ee6613f5b2bd202a57374bcc00ef9eb2b36
parentee666f840976d56671e3cec56ab9f5152afb2dcc (diff)
downloademacs-4fb04348e54f91a29de30057896bb351b11377a8.tar.gz
emacs-4fb04348e54f91a29de30057896bb351b11377a8.zip
(Creating Frames): Document frame-inherited-parameters.
(Parameter Access): Document set-frame-parameter.
-rw-r--r--doc/lispref/ChangeLog3
-rw-r--r--doc/lispref/frames.texi21
-rw-r--r--etc/NEWS2
3 files changed, 26 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index e12c210061e..84884e3cbe3 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,8 @@
12008-10-15 Eli Zaretskii <eliz@gnu.org> 12008-10-15 Eli Zaretskii <eliz@gnu.org>
2 2
3 * frames.texi (Creating Frames): Document frame-inherited-parameters.
4 (Parameter Access): Document set-frame-parameter.
5
3 * variables.texi (Creating Buffer-Local): Add an xref to "Setting 6 * variables.texi (Creating Buffer-Local): Add an xref to "Setting
4 Hooks" for the effect of kill-all-local-variables on local hook 7 Hooks" for the effect of kill-all-local-variables on local hook
5 functions. 8 functions.
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 5c00c1cc02f..4f9686a36ec 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -98,6 +98,12 @@ variable @code{default-frame-alist}; parameters not specified even there
98default from the standard X resources or whatever is used instead on 98default from the standard X resources or whatever is used instead on
99your system. 99your system.
100 100
101After the frame is created, this function applies to it the
102parameters, if any, listed in the value of
103@code{frame-inherited-parameters} (see below) and not present in the
104argument, taking the values from the frame that was selected when
105@code{make-frame} was called.
106
101The set of possible parameters depends in principle on what kind of 107The set of possible parameters depends in principle on what kind of
102window system Emacs uses to display its frames. @xref{Window Frame 108window system Emacs uses to display its frames. @xref{Window Frame
103Parameters}, for documentation of individual parameters you can specify. 109Parameters}, for documentation of individual parameters you can specify.
@@ -120,6 +126,15 @@ Each function in @code{after-make-frame-functions} receives one argument, the
120frame just created. 126frame just created.
121@end defvar 127@end defvar
122 128
129@defvar frame-inherited-parameters
130This variable specifies the list of frame parameters that a newly
131created frame inherits from the currently selected frame. For each
132parameter (a symbol) that is an element in the list and is not present
133in the argument to @code{make-frame}, the function sets the value of
134that parameter in the created frame to its value in the selected
135frame.
136@end defvar
137
123@node Multiple Displays 138@node Multiple Displays
124@section Multiple Displays 139@section Multiple Displays
125@cindex multiple X displays 140@cindex multiple X displays
@@ -258,6 +273,12 @@ You can use this function to define frame-local bindings for
258variables, see @ref{Frame-Local Variables}. 273variables, see @ref{Frame-Local Variables}.
259@end defun 274@end defun
260 275
276@defun set-frame-parameter frame parm value
277This function sets the the frame parameter @var{parm} to the specified
278@var{value}. If @var{frame} is @code{nil}, it defaults to the
279selected frame.
280@end defun
281
261@defun modify-all-frames-parameters alist 282@defun modify-all-frames-parameters alist
262This function alters the frame parameters of all existing frames 283This function alters the frame parameters of all existing frames
263according to @var{alist}, then modifies @code{default-frame-alist} 284according to @var{alist}, then modifies @code{default-frame-alist}
diff --git a/etc/NEWS b/etc/NEWS
index a11cf88f40d..ea0a76e69c3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1118,9 +1118,11 @@ Use this instead of "~/.emacs.d".
1118property, `kill-all-local-variables' does not remove it from the local 1118property, `kill-all-local-variables' does not remove it from the local
1119value of the hook variable; it remains even if you change major modes. 1119value of the hook variable; it remains even if you change major modes.
1120 1120
1121+++
1121** `frame-inherited-parameters' lets new frames inherit parameters from 1122** `frame-inherited-parameters' lets new frames inherit parameters from
1122the selected frame. 1123the selected frame.
1123 1124
1125+++
1124** New keymap `input-decode-map' overrides like key-translation-map, but 1126** New keymap `input-decode-map' overrides like key-translation-map, but
1125applies before function-key-map. Also it is terminal-local contrary to 1127applies before function-key-map. Also it is terminal-local contrary to
1126key-translation-map. Terminal-specific key-sequences are generally added to 1128key-translation-map. Terminal-specific key-sequences are generally added to