aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/window.c b/src/window.c
index 8a166c06106..d280b739d92 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3468,14 +3468,15 @@ where `pop-up-frame-alist' would hold the default frame parameters.");
3468 DEFVAR_LISP ("special-display-buffer-names", &Vspecial_display_buffer_names, 3468 DEFVAR_LISP ("special-display-buffer-names", &Vspecial_display_buffer_names,
3469 "*List of buffer names that should have their own special frames.\n\ 3469 "*List of buffer names that should have their own special frames.\n\
3470Displaying a buffer whose name is in this list makes a special frame for it\n\ 3470Displaying a buffer whose name is in this list makes a special frame for it\n\
3471using `special-display-function'.\n\ 3471using `special-display-function'. See also `special-display-regexps'.\n\
3472\n\ 3472\n\
3473An element of the list can be a cons cell instead of just a string.\n\ 3473An element of the list can be a list instead of just a string.\n\
3474Then the car should be a buffer name, and the cdr specifies frame\n\ 3474There are two ways to use a list as an element:\n\
3475parameters for creating the frame for that buffer.\n\ 3475 (BUFFER FRAME-PARAMETERS...) (BUFFER FUNCTION OTHER-ARGS...)\n\
3476More precisely, the cdr is passed as the second argument to\n\ 3476In the first case, FRAME-PARAMETERS are used to create the frame.\n\
3477the function found in `special-display-function', when making that frame.\n\ 3477In the latter case, FUNCTION is called with BUFFER as the first argument,\n\
3478See also `special-display-regexps'."); 3478followed by OTHER-ARGS--it can display BUFFER in any way it likes.\n\
3479All this is done by the function found in `special-display-function'.");
3479 Vspecial_display_buffer_names = Qnil; 3480 Vspecial_display_buffer_names = Qnil;
3480 3481
3481 DEFVAR_LISP ("special-display-regexps", &Vspecial_display_regexps, 3482 DEFVAR_LISP ("special-display-regexps", &Vspecial_display_regexps,
@@ -3484,12 +3485,13 @@ If a buffer name matches one of these regexps, it gets its own frame.\n\
3484Displaying a buffer whose name is in this list makes a special frame for it\n\ 3485Displaying a buffer whose name is in this list makes a special frame for it\n\
3485using `special-display-function'.\n\ 3486using `special-display-function'.\n\
3486\n\ 3487\n\
3487An element of the list can be a cons cell instead of just a string.\n\ 3488An element of the list can be a list instead of just a string.\n\
3488Then the car should be the regexp, and the cdr specifies frame\n\ 3489There are two ways to use a list as an element:\n\
3489parameters for creating the frame for buffers that match.\n\ 3490 (REGEXP FRAME-PARAMETERS...) (REGEXP FUNCTION OTHER-ARGS...)\n\
3490More precisely, the cdr is passed as the second argument to\n\ 3491In the first case, FRAME-PARAMETERS are used to create the frame.\n\
3491the function found in `special-display-function', when making that frame.\n\ 3492In the latter case, FUNCTION is called with the buffer as first argument,\n\
3492See also `special-display-buffer-names'."); 3493followed by OTHER-ARGS--it can display the buffer in any way it likes.\n\
3494All this is done by the function found in `special-display-function'.");
3493 Vspecial_display_regexps = Qnil; 3495 Vspecial_display_regexps = Qnil;
3494 3496
3495 DEFVAR_LISP ("special-display-function", &Vspecial_display_function, 3497 DEFVAR_LISP ("special-display-function", &Vspecial_display_function,