+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
(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
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)));
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;