1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00

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.
This commit is contained in:
Martin Rudalics 2011-11-01 17:21:41 +01:00
parent 37dcccdd20
commit 4ee8844078
4 changed files with 13 additions and 18 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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

View File

@ -1,3 +1,9 @@
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

View File

@ -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;