comparison lispref/windows.texi @ 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 23a1cea22d13
children b65aa1d740eb
comparison
equal deleted inserted replaced
49960:10a8aba3dfc7 49961:64f6bc336d1b
958 buffer specially. 958 buffer specially.
959 959
960 By default, special display means to give the buffer a dedicated frame. 960 By default, special display means to give the buffer a dedicated frame.
961 961
962 If an element is a list, instead of a string, then the @sc{car} of the 962 If an element is a list, instead of a string, then the @sc{car} of the
963 list is the buffer name, and the rest of the list says how to create the 963 list is the buffer name, and the rest of the list says how to create
964 frame. There are two possibilities for the rest of the list. It can be 964 the frame. There are two possibilities for the rest of the list (its
965 an alist, specifying frame parameters, or it can contain a function and 965 @sc{cdr}). It can be an alist, specifying frame parameters, or it can
966 arguments to give to it. (The function's first argument is always the 966 contain a function and arguments to give to it. (The function's first
967 buffer to be displayed; the arguments from the list come after that.) 967 argument is always the buffer to be displayed; the arguments from the
968 list come after that.)
969
970 For example:
971
972 @example
973 (("myfile" (minibuffer) (menu-bar-lines . 0)))
974 @end example
975
976 @noindent
977 specifies to display a buffer named @samp{myfile} in a dedicated frame
978 with specified @code{minibuffer} and @code{menu-bar-lines} parameters.
968 @end defopt 979 @end defopt
969 980
970 @defopt special-display-regexps 981 @defopt special-display-regexps
971 A list of regular expressions that specify buffers that should be 982 A list of regular expressions that specify buffers that should be
972 displayed specially. If the buffer's name matches any of the regular 983 displayed specially. If the buffer's name matches any of the regular