Add temp-buffer-show-specifiers and replace with-output-to-temp-buffer
commit44f1b42a3ffc37b193bc49037c40dbf08f4a5567
authorMartin Rudalics <rudalics@gmx.at>
Wed, 10 Nov 2010 09:53:22 +0000 (10 10:53 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 10 Nov 2010 09:53:22 +0000 (10 10:53 +0100)
treeb447e8ca9823091e579a808f3cf41f39efafd0f1
parentf6ecf579863e8151051a6533e4eceeb2a6de4a04
Add temp-buffer-show-specifiers and replace with-output-to-temp-buffer
with with-help-window.

* window.c (syms_of_window): New variable
temp-buffer-show-specifiers.
(temp_output_buffer_show): Call display-buffer with second
argument set to temp-buffer-show-specifiers and reset the latter
after the call.

* print.c (Fwith_output_to_temp_buffer): In doc-string explain how
to set up temp-buffer-show-specifiers.

* help.el (with-help-window): In doc-string say how to set up
temp-buffer-show-specifiers.

* isearch.el (isearch-help-for-help, isearch-describe-bindings)
(isearch-describe-key, isearch-describe-mode): Replace bindings
for same-window-buffer-names and same-window-regexps by binding
temp-buffer-show-specifiers instead.

* international/mule-diag.el (mule-diag):
* calc/calc-help.el (calc-describe-key, calc-full-help):
* printing.el (pr-show-setup):
* progmodes/python.el (python-describe-symbol):
* textmodes/table.el (*table--cell-describe-mode)
(*table--cell-describe-bindings):
* tutorial.el (tutorial--describe-nonstandard-key)
(tutorial--detailed-help):
* progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
* play/yow.el (apropos-zippy): Use with-help-window.

* apropos.el (apropos-command): Remove the message calculation part.
(apropos-print): Use with-help-window

* woman.el (woman-mini-help): Remove the message calculation part.
(woman-display-extended-fonts): Use with-help-window.

* display.texi (Temporary Displays): Describe
temp-buffer-show-specifiers.
18 files changed:
doc/lispref/ChangeLog
doc/lispref/display.texi
lisp/ChangeLog
lisp/apropos.el
lisp/calc/calc-help.el
lisp/help.el
lisp/international/mule-diag.el
lisp/isearch.el
lisp/play/yow.el
lisp/printing.el
lisp/progmodes/python.el
lisp/progmodes/vhdl-mode.el
lisp/textmodes/table.el
lisp/tutorial.el
lisp/woman.el
src/ChangeLog
src/print.c
src/window.c