aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2003-02-24 16:50:00 +0000
committerRichard M. Stallman <[email protected]>2003-02-24 16:50:00 +0000
commitc1f21754703d075fc6b389ad2571e055a0800ce8 (patch)
tree68db296633a4e2beaa305773db89634cceff164a /lispref
parent7878d6b6c14e7d71980a2e30dd6b46177763c346 (diff)
Give example of using special-display-buffer-names to specify frame parameters.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/windows.texi21
1 files changed, 16 insertions, 5 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi
index 1fc7a7e502..f43a792f3b 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