Commit 2ed94e04 authored by Martin Rudalics's avatar Martin Rudalics

In with-temp-buffer-window don't evaluate BODY within with-current-buffer (Bug#16816).

* window.el (with-temp-buffer-window): Don't evaluate BODY within
with-current-buffer (Bug#16816).
parent c6e08d12
......@@ -15,6 +15,9 @@
(adjust-window-trailing-edge): Call window--resizable with
correct TRAIL argument.
(with-temp-buffer-window): Don't evaluate BODY within
with-current-buffer (Bug#16816).
2014-02-21 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-check-cached-permissions):
......
......@@ -189,8 +189,8 @@ argument replaces this)."
`(let* ((,buffer (temp-buffer-window-setup ,buffer-or-name))
(standard-output ,buffer)
,window ,value)
(setq ,value (progn ,@body))
(with-current-buffer ,buffer
(setq ,value (progn ,@body))
(setq ,window (temp-buffer-window-show ,buffer ,action)))
(if (functionp ,quit-function)
......
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