changeset 49961:64f6bc336d1b

Give example of using special-display-buffer-names to specify frame parameters.
author Richard M. Stallman <rms@gnu.org>
date Mon, 24 Feb 2003 16:50:00 +0000
parents 10a8aba3dfc7
children 13d146080936
files lispref/windows.texi
diffstat 1 files changed, 16 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/windows.texi	Mon Feb 24 16:48:54 2003 +0000
+++ b/lispref/windows.texi	Mon Feb 24 16:50:00 2003 +0000
@@ -960,11 +960,22 @@
 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