diff options
author | Richard M. Stallman <rms@gnu.org> | 2003-02-24 16:50:00 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2003-02-24 16:50:00 +0000 |
commit | c1f21754703d075fc6b389ad2571e055a0800ce8 (patch) | |
tree | 68db296633a4e2beaa305773db89634cceff164a /lispref/windows.texi | |
parent | 7878d6b6c14e7d71980a2e30dd6b46177763c346 (diff) | |
download | emacs-c1f21754703d075fc6b389ad2571e055a0800ce8.tar.gz |
Give example of using special-display-buffer-names to specify frame parameters.
Diffstat (limited to 'lispref/windows.texi')
-rw-r--r-- | lispref/windows.texi | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi index 1fc7a7e5022..f43a792f3be 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi @@ -960,11 +960,22 @@ buffer specially. By default, special display means to give the buffer a dedicated frame. If an element is a list, instead of a string, then the @sc{car} of the -list is the buffer name, and the rest of the list says how to create the -frame. There are two possibilities for the rest of the list. It can be -an alist, specifying frame parameters, or it can contain a function and -arguments to give to it. (The function's first argument is always the -buffer to be displayed; the arguments from the list come after that.) +list is the buffer name, and the rest of the list says how to create +the frame. There are two possibilities for the rest of the list (its +@sc{cdr}). It can be an alist, specifying frame parameters, or it can +contain a function and arguments to give to it. (The function's first +argument is always the buffer to be displayed; the arguments from the +list come after that.) + +For example: + +@example +(("myfile" (minibuffer) (menu-bar-lines . 0))) +@end example + +@noindent +specifies to display a buffer named @samp{myfile} in a dedicated frame +with specified @code{minibuffer} and @code{menu-bar-lines} parameters. @end defopt @defopt special-display-regexps |