diff options
| author | Eli Zaretskii | 2008-10-15 12:25:19 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-10-15 12:25:19 +0000 |
| commit | 4fb04348e54f91a29de30057896bb351b11377a8 (patch) | |
| tree | 335b0ee6613f5b2bd202a57374bcc00ef9eb2b36 | |
| parent | ee666f840976d56671e3cec56ab9f5152afb2dcc (diff) | |
| download | emacs-4fb04348e54f91a29de30057896bb351b11377a8.tar.gz emacs-4fb04348e54f91a29de30057896bb351b11377a8.zip | |
(Creating Frames): Document frame-inherited-parameters.
(Parameter Access): Document set-frame-parameter.
| -rw-r--r-- | doc/lispref/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 21 | ||||
| -rw-r--r-- | etc/NEWS | 2 |
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 @@ | |||
| 1 | 2008-10-15 Eli Zaretskii <eliz@gnu.org> | 1 | 2008-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 | |||
| 98 | default from the standard X resources or whatever is used instead on | 98 | default from the standard X resources or whatever is used instead on |
| 99 | your system. | 99 | your system. |
| 100 | 100 | ||
| 101 | After the frame is created, this function applies to it the | ||
| 102 | parameters, if any, listed in the value of | ||
| 103 | @code{frame-inherited-parameters} (see below) and not present in the | ||
| 104 | argument, taking the values from the frame that was selected when | ||
| 105 | @code{make-frame} was called. | ||
| 106 | |||
| 101 | The set of possible parameters depends in principle on what kind of | 107 | The set of possible parameters depends in principle on what kind of |
| 102 | window system Emacs uses to display its frames. @xref{Window Frame | 108 | window system Emacs uses to display its frames. @xref{Window Frame |
| 103 | Parameters}, for documentation of individual parameters you can specify. | 109 | Parameters}, for documentation of individual parameters you can specify. |
| @@ -120,6 +126,15 @@ Each function in @code{after-make-frame-functions} receives one argument, the | |||
| 120 | frame just created. | 126 | frame just created. |
| 121 | @end defvar | 127 | @end defvar |
| 122 | 128 | ||
| 129 | @defvar frame-inherited-parameters | ||
| 130 | This variable specifies the list of frame parameters that a newly | ||
| 131 | created frame inherits from the currently selected frame. For each | ||
| 132 | parameter (a symbol) that is an element in the list and is not present | ||
| 133 | in the argument to @code{make-frame}, the function sets the value of | ||
| 134 | that parameter in the created frame to its value in the selected | ||
| 135 | frame. | ||
| 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 | |||
| 258 | variables, see @ref{Frame-Local Variables}. | 273 | variables, see @ref{Frame-Local Variables}. |
| 259 | @end defun | 274 | @end defun |
| 260 | 275 | ||
| 276 | @defun set-frame-parameter frame parm value | ||
| 277 | This function sets the the frame parameter @var{parm} to the specified | ||
| 278 | @var{value}. If @var{frame} is @code{nil}, it defaults to the | ||
| 279 | selected frame. | ||
| 280 | @end defun | ||
| 281 | |||
| 261 | @defun modify-all-frames-parameters alist | 282 | @defun modify-all-frames-parameters alist |
| 262 | This function alters the frame parameters of all existing frames | 283 | This function alters the frame parameters of all existing frames |
| 263 | according to @var{alist}, then modifies @code{default-frame-alist} | 284 | according to @var{alist}, then modifies @code{default-frame-alist} |
| @@ -1118,9 +1118,11 @@ Use this instead of "~/.emacs.d". | |||
| 1118 | property, `kill-all-local-variables' does not remove it from the local | 1118 | property, `kill-all-local-variables' does not remove it from the local |
| 1119 | value of the hook variable; it remains even if you change major modes. | 1119 | value 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 |
| 1122 | the selected frame. | 1123 | the 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 |
| 1125 | applies before function-key-map. Also it is terminal-local contrary to | 1127 | applies before function-key-map. Also it is terminal-local contrary to |
| 1126 | key-translation-map. Terminal-specific key-sequences are generally added to | 1128 | key-translation-map. Terminal-specific key-sequences are generally added to |