mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-10 09:43:26 -08:00
In pp-display-expression select old selected window only if it is still live (Bug#12034).
* emacs-lisp/pp.el (pp-display-expression): Select old selected window only if it is still live (Bug#12034).
This commit is contained in:
parent
8137e7b316
commit
f08088e354
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
|
||||
|
||||
* emacs-lisp/pp.el (pp-display-expression): Select old selected
|
||||
window only if it is still live (Bug#12034).
|
||||
|
||||
2012-07-25 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* subr.el (redirect-frame-focus): Add advertised calling
|
||||
|
|
|
|||
|
|
@ -110,7 +110,8 @@ after OUT-BUFFER-NAME."
|
|||
(progn
|
||||
(select-window window)
|
||||
(run-hooks 'temp-buffer-show-hook))
|
||||
(select-window old-selected)
|
||||
(when (window-live-p old-selected)
|
||||
(select-window old-selected))
|
||||
(message "See buffer %s." out-buffer-name)))
|
||||
(message "%s" (buffer-substring (point-min) (point)))
|
||||
))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue