2008-10-15 Eli Zaretskii <eliz@gnu.org>
+ * frames.texi (Creating Frames): Document frame-inherited-parameters.
+ (Parameter Access): Document set-frame-parameter.
+
* variables.texi (Creating Buffer-Local): Add an xref to "Setting
Hooks" for the effect of kill-all-local-variables on local hook
functions.
default from the standard X resources or whatever is used instead on
your system.
+After the frame is created, this function applies to it the
+parameters, if any, listed in the value of
+@code{frame-inherited-parameters} (see below) and not present in the
+argument, taking the values from the frame that was selected when
+@code{make-frame} was called.
+
The set of possible parameters depends in principle on what kind of
window system Emacs uses to display its frames. @xref{Window Frame
Parameters}, for documentation of individual parameters you can specify.
frame just created.
@end defvar
+@defvar frame-inherited-parameters
+This variable specifies the list of frame parameters that a newly
+created frame inherits from the currently selected frame. For each
+parameter (a symbol) that is an element in the list and is not present
+in the argument to @code{make-frame}, the function sets the value of
+that parameter in the created frame to its value in the selected
+frame.
+@end defvar
+
@node Multiple Displays
@section Multiple Displays
@cindex multiple X displays
variables, see @ref{Frame-Local Variables}.
@end defun
+@defun set-frame-parameter frame parm value
+This function sets the the frame parameter @var{parm} to the specified
+@var{value}. If @var{frame} is @code{nil}, it defaults to the
+selected frame.
+@end defun
+
@defun modify-all-frames-parameters alist
This function alters the frame parameters of all existing frames
according to @var{alist}, then modifies @code{default-frame-alist}
property, `kill-all-local-variables' does not remove it from the local
value of the hook variable; it remains even if you change major modes.
++++
** `frame-inherited-parameters' lets new frames inherit parameters from
the selected frame.
++++
** New keymap `input-decode-map' overrides like key-translation-map, but
applies before function-key-map. Also it is terminal-local contrary to
key-translation-map. Terminal-specific key-sequences are generally added to