Mercurial > emacs
comparison src/window.c @ 44155:d94cb7b3b165
(Fdisplay_buffer): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Mar 2002 09:09:56 +0000 |
parents | f92c4d87863a |
children | 6bcf9f9c10df |
comparison
equal
deleted
inserted
replaced
44154:879ec5292ef0 | 44155:d94cb7b3b165 |
---|---|
2896 If BUFFER is shown already in some window, just use that one, | 2896 If BUFFER is shown already in some window, just use that one, |
2897 unless the window is the selected window and the optional second | 2897 unless the window is the selected window and the optional second |
2898 argument NOT-THIS-WINDOW is non-nil (interactively, with prefix arg). | 2898 argument NOT-THIS-WINDOW is non-nil (interactively, with prefix arg). |
2899 If `pop-up-frames' is non-nil, make a new frame if no window shows BUFFER. | 2899 If `pop-up-frames' is non-nil, make a new frame if no window shows BUFFER. |
2900 Returns the window displaying BUFFER. | 2900 Returns the window displaying BUFFER. |
2901 If `display-reuse-frames' is non-nil, and another frame is currently | 2901 If `display-buffer-reuse-frames' is non-nil, and another frame is currently |
2902 displaying BUFFER, then simply raise that frame. | 2902 displaying BUFFER, then simply raise that frame. |
2903 | 2903 |
2904 The variables `special-display-buffer-names', `special-display-regexps', | 2904 The variables `special-display-buffer-names', `special-display-regexps', |
2905 `same-window-buffer-names', and `same-window-regexps' customize how certain | 2905 `same-window-buffer-names', and `same-window-regexps' customize how certain |
2906 buffer names are handled. | 2906 buffer names are handled. |
2944 Fswitch_to_buffer (buffer, Qnil); | 2944 Fswitch_to_buffer (buffer, Qnil); |
2945 return display_buffer_1 (selected_window); | 2945 return display_buffer_1 (selected_window); |
2946 } | 2946 } |
2947 } | 2947 } |
2948 | 2948 |
2949 /* If the user wants pop-up-frames or display-reuse-frames, then | 2949 /* If the user wants pop-up-frames or display-buffer-reuse-frames, |
2950 look for a window showing BUFFER on any visible or iconified frame. | 2950 look for a window showing BUFFER on any visible or iconified frame. |
2951 Otherwise search only the current frame. */ | 2951 Otherwise search only the current frame. */ |
2952 if (! NILP (frame)) | 2952 if (! NILP (frame)) |
2953 tem = frame; | 2953 tem = frame; |
2954 else if (pop_up_frames | 2954 else if (pop_up_frames |