diff options
| author | Alan Mackenzie | 2011-11-03 22:03:18 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2011-11-03 22:03:18 +0000 |
| commit | 85ba4cded3ef5a834c880edfdb6cf7ec3a747e9b (patch) | |
| tree | 2a207d6e9e906119087ad357c892414db01211cb /src/window.c | |
| parent | a6ba2ab9277496b66f6939766a3470c1f0a84287 (diff) | |
| parent | 14e1d9eab9f4b7341f92397a0a9a2706f7b26ee9 (diff) | |
| download | emacs-85ba4cded3ef5a834c880edfdb6cf7ec3a747e9b.tar.gz emacs-85ba4cded3ef5a834c880edfdb6cf7ec3a747e9b.zip | |
Merge.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/window.c b/src/window.c index 38f16c91f34..422073b1bd3 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3185,10 +3185,7 @@ temp_output_buffer_show (register Lisp_Object buf) | |||
| 3185 | call1 (Vtemp_buffer_show_function, buf); | 3185 | call1 (Vtemp_buffer_show_function, buf); |
| 3186 | else | 3186 | else |
| 3187 | { | 3187 | { |
| 3188 | window = display_buffer (buf, Vtemp_buffer_show_specifiers, Qnil); | 3188 | window = display_buffer (buf, Qnil, Qnil); |
| 3189 | /* Reset Vtemp_buffer_show_specifiers immediately so it won't | ||
| 3190 | affect subsequent calls. */ | ||
| 3191 | Vtemp_buffer_show_specifiers = Qnil; | ||
| 3192 | 3189 | ||
| 3193 | if (!EQ (XWINDOW (window)->frame, selected_frame)) | 3190 | if (!EQ (XWINDOW (window)->frame, selected_frame)) |
| 3194 | Fmake_frame_visible (WINDOW_FRAME (XWINDOW (window))); | 3191 | Fmake_frame_visible (WINDOW_FRAME (XWINDOW (window))); |
| @@ -6460,16 +6457,6 @@ If this function is used, then it must do the entire job of showing | |||
| 6460 | the buffer; `temp-buffer-show-hook' is not run unless this function runs it. */); | 6457 | the buffer; `temp-buffer-show-hook' is not run unless this function runs it. */); |
| 6461 | Vtemp_buffer_show_function = Qnil; | 6458 | Vtemp_buffer_show_function = Qnil; |
| 6462 | 6459 | ||
| 6463 | DEFVAR_LISP ("temp-buffer-show-specifiers", Vtemp_buffer_show_specifiers, | ||
| 6464 | doc: /* Buffer display specifiers used by `with-output-to-temp-buffer'. | ||
| 6465 | These specifiers are passed by `with-output-to-temp-buffer' as second | ||
| 6466 | argument to `display-buffer'. Applications should only let-bind this | ||
| 6467 | around a call to `with-output-to-temp-buffer'. | ||
| 6468 | |||
| 6469 | For a description of buffer display specifiers see the variable | ||
| 6470 | `display-buffer-alist'. */); | ||
| 6471 | Vtemp_buffer_show_specifiers = Qnil; | ||
| 6472 | |||
| 6473 | DEFVAR_LISP ("minibuffer-scroll-window", Vminibuf_scroll_window, | 6460 | DEFVAR_LISP ("minibuffer-scroll-window", Vminibuf_scroll_window, |
| 6474 | doc: /* Non-nil means it is the window that C-M-v in minibuffer should scroll. */); | 6461 | doc: /* Non-nil means it is the window that C-M-v in minibuffer should scroll. */); |
| 6475 | Vminibuf_scroll_window = Qnil; | 6462 | Vminibuf_scroll_window = Qnil; |