Commit 4ee88440 authored by Martin Rudalics's avatar Martin Rudalics

Remove unused variable temp-buffer-show-specifiers.

* window.c (temp_output_buffer_show): Don't use
Vtemp_buffer_show_specifiers.
(Vtemp_buffer_show_specifiers): Remove unused variable.
* help.el (with-help-window): Don't reference
temp-buffer-show-specifiers in doc-string.
parent 37dcccdd
2011-11-01 Martin Rudalics <rudalics@gmx.at>
* help.el (with-help-window): Don't reference
temp-buffer-show-specifiers in doc-string.
2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
* subr.el (keymap--menu-item-with-binding): Ignore item if not a
......
......@@ -1125,10 +1125,7 @@ HELP-WINDOW is the window used for displaying the help buffer."
(defmacro with-help-window (buffer-name &rest body)
"Display buffer with name BUFFER-NAME in a help window evaluating BODY.
Select help window if the actual value of the user option
`help-window-select' says so. Return last value in BODY.
You can specify where and how to show the buffer by binding the
variable `temp-buffer-show-specifiers' to an appropriate value."
`help-window-select' says so. Return last value in BODY."
(declare (indent 1) (debug t))
`(progn
;; Make `help-window-point-marker' point nowhere. The only place
......
2011-11-01 Martin Rudalics <rudalics@gmx.at>
* window.c (temp_output_buffer_show): Don't use
Vtemp_buffer_show_specifiers.
(Vtemp_buffer_show_specifiers): Remove unused variable.
2011-10-30 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (try_cursor_movement): Make sure ROW isn't decremented
......
......@@ -3185,10 +3185,7 @@ temp_output_buffer_show (register Lisp_Object buf)
call1 (Vtemp_buffer_show_function, buf);
else
{
window = display_buffer (buf, Vtemp_buffer_show_specifiers, Qnil);
/* Reset Vtemp_buffer_show_specifiers immediately so it won't
affect subsequent calls. */
Vtemp_buffer_show_specifiers = Qnil;
window = display_buffer (buf, Qnil, Qnil);
if (!EQ (XWINDOW (window)->frame, selected_frame))
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
the buffer; `temp-buffer-show-hook' is not run unless this function runs it. */);
Vtemp_buffer_show_function = Qnil;
DEFVAR_LISP ("temp-buffer-show-specifiers", Vtemp_buffer_show_specifiers,
doc: /* Buffer display specifiers used by `with-output-to-temp-buffer'.
These specifiers are passed by `with-output-to-temp-buffer' as second
argument to `display-buffer'. Applications should only let-bind this
around a call to `with-output-to-temp-buffer'.
For a description of buffer display specifiers see the variable
`display-buffer-alist'. */);
Vtemp_buffer_show_specifiers = Qnil;
DEFVAR_LISP ("minibuffer-scroll-window", Vminibuf_scroll_window,
doc: /* Non-nil means it is the window that C-M-v in minibuffer should scroll. */);
Vminibuf_scroll_window = Qnil;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment