diff options
| author | Richard M. Stallman | 2005-04-26 22:42:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-04-26 22:42:28 +0000 |
| commit | c019856ec3ad39fa892d62afb037f41ffc36896b (patch) | |
| tree | a5c95d336ab562e7101607ba14586ee44e8cc77c /src/window.c | |
| parent | a00917788e00e916dda9bbf126065efaf807009e (diff) | |
| download | emacs-c019856ec3ad39fa892d62afb037f41ffc36896b.tar.gz emacs-c019856ec3ad39fa892d62afb037f41ffc36896b.zip | |
(Fsame_window_p, Fspecial_display_p): Doc fixes.
(syms_of_window): Doc fixes.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/window.c b/src/window.c index 5e6f923497b..5e399afd28e 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3263,9 +3263,10 @@ display_buffer_1 (window) | |||
| 3263 | 3263 | ||
| 3264 | DEFUN ("special-display-p", Fspecial_display_p, Sspecial_display_p, 1, 1, 0, | 3264 | DEFUN ("special-display-p", Fspecial_display_p, Sspecial_display_p, 1, 1, 0, |
| 3265 | doc: /* Returns non-nil if a buffer named BUFFER-NAME gets a special frame. | 3265 | doc: /* Returns non-nil if a buffer named BUFFER-NAME gets a special frame. |
| 3266 | If the value is t, a frame would be created for that buffer | 3266 | If the value is t, `display-buffer' or `pop-to-buffer' would create a |
| 3267 | using the default frame parameters. If the value is a list, | 3267 | special frame for that buffer using the default frame parameters. |
| 3268 | it is a list of frame parameters that would be used | 3268 | |
| 3269 | If the value is a list, it is a list of frame parameters that would be used | ||
| 3269 | to make a frame for that buffer. | 3270 | to make a frame for that buffer. |
| 3270 | The variables `special-display-buffer-names' | 3271 | The variables `special-display-buffer-names' |
| 3271 | and `special-display-regexps' control this. */) | 3272 | and `special-display-regexps' control this. */) |
| @@ -3299,7 +3300,9 @@ and `special-display-regexps' control this. */) | |||
| 3299 | } | 3300 | } |
| 3300 | 3301 | ||
| 3301 | DEFUN ("same-window-p", Fsame_window_p, Ssame_window_p, 1, 1, 0, | 3302 | DEFUN ("same-window-p", Fsame_window_p, Ssame_window_p, 1, 1, 0, |
| 3302 | doc: /* Returns non-nil if a new buffer named BUFFER-NAME would use the same window. | 3303 | doc: /* Returns non-nil if a buffer named BUFFER-NAME would use the same window. |
| 3304 | More precisely, if `display-buffer' or `pop-to-buffer' would display | ||
| 3305 | that buffer in the selected window rather than (as usual) in some other window. | ||
| 3303 | See `same-window-buffer-names' and `same-window-regexps'. */) | 3306 | See `same-window-buffer-names' and `same-window-regexps'. */) |
| 3304 | (buffer_name) | 3307 | (buffer_name) |
| 3305 | Lisp_Object buffer_name; | 3308 | Lisp_Object buffer_name; |
| @@ -6748,7 +6751,8 @@ where `pop-up-frame-alist' would hold the default frame parameters. */); | |||
| 6748 | 6751 | ||
| 6749 | DEFVAR_LISP ("special-display-buffer-names", &Vspecial_display_buffer_names, | 6752 | DEFVAR_LISP ("special-display-buffer-names", &Vspecial_display_buffer_names, |
| 6750 | doc: /* *List of buffer names that should have their own special frames. | 6753 | doc: /* *List of buffer names that should have their own special frames. |
| 6751 | Displaying a buffer whose name is in this list makes a special frame for it | 6754 | Displaying a buffer with `display-buffer' or `pop-to-buffer', |
| 6755 | if its name is in this list, makes a special frame for it | ||
| 6752 | using `special-display-function'. See also `special-display-regexps'. | 6756 | using `special-display-function'. See also `special-display-regexps'. |
| 6753 | 6757 | ||
| 6754 | An element of the list can be a list instead of just a string. | 6758 | An element of the list can be a list instead of just a string. |
| @@ -6773,9 +6777,9 @@ Those variables take precedence over this one. */); | |||
| 6773 | 6777 | ||
| 6774 | DEFVAR_LISP ("special-display-regexps", &Vspecial_display_regexps, | 6778 | DEFVAR_LISP ("special-display-regexps", &Vspecial_display_regexps, |
| 6775 | doc: /* *List of regexps saying which buffers should have their own special frames. | 6779 | doc: /* *List of regexps saying which buffers should have their own special frames. |
| 6776 | If a buffer name matches one of these regexps, it gets its own frame. | 6780 | When displaying a buffer with `display-buffer' or `pop-to-buffer', |
| 6777 | Displaying a buffer whose name is in this list makes a special frame for it | 6781 | if any regexp in this list matches the buffer name, it makes a |
| 6778 | using `special-display-function'. | 6782 | special frame for the buffer by calling `special-display-function'. |
| 6779 | 6783 | ||
| 6780 | An element of the list can be a list instead of just a string. | 6784 | An element of the list can be a list instead of just a string. |
| 6781 | There are two ways to use a list as an element: | 6785 | There are two ways to use a list as an element: |