]> code.delx.au - gnu-emacs/commitdiff
Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
authorMartin Rudalics <rudalics@gmx.at>
Tue, 22 Dec 2015 08:19:21 +0000 (09:19 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 22 Dec 2015 08:19:21 +0000 (09:19 +0100)
* lisp/simple.el (display-message-or-buffer): Call
`display-buffer' with ACTION instead of NOT-THIS-WINDOW
(Bug#22221).

lisp/simple.el

index 2abab5c597c66f683b12c64d53bb9c25dfcc5233..a22fe03a0aea32f74daf105518452431326b1cad 100644 (file)
@@ -3424,8 +3424,7 @@ and are only used if a pop-up buffer is displayed."
                   (t
                    ;; Buffer
                    (goto-char (point-min))
-                   (display-buffer (current-buffer)
-                                   not-this-window frame))))))))
+                   (display-buffer (current-buffer) action frame))))))))
 
 
 ;; We have a sentinel to prevent insertion of a termination message