Merge from emacs-24; up to 2012-11-15T23:31:37Z!dancol@dancol.org

This commit is contained in:
Glenn Morris 2012-11-17 17:52:36 -08:00
commit 2ac9538d67
24 changed files with 277 additions and 65 deletions

View file

@ -3189,6 +3189,7 @@ in which case `save-window-excursion' cannot help."
;; Return nil.
nil)
;; Doc is very similar to with-temp-buffer-window.
(defmacro with-output-to-temp-buffer (bufname &rest body)
"Bind `standard-output' to buffer BUFNAME, eval BODY, then show that buffer.
@ -3214,7 +3215,9 @@ with the buffer BUFNAME temporarily current. It runs the hook
`temp-buffer-show-hook' after displaying buffer BUFNAME, with that
buffer temporarily current, and the window that was used to display it
temporarily selected. But it doesn't run `temp-buffer-show-hook'
if it uses `temp-buffer-show-function'."
if it uses `temp-buffer-show-function'.
See the related form `with-temp-buffer-window'."
(declare (debug t))
(let ((old-dir (make-symbol "old-dir"))
(buf (make-symbol "buf")))