]> git.eshelyaron.com Git - emacs.git/commitdiff
(display-message-or-buffer): Pass the correct buffer
authorGerd Moellmann <gerd@gnu.org>
Mon, 15 Oct 2001 09:23:31 +0000 (09:23 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 15 Oct 2001 09:23:31 +0000 (09:23 +0000)
to `display-buffer'.

lisp/simple.el

index 010f6625348d9be975c2f81a7309fc04ab84e198..f5e7aa7565a2adf59439500855bd64f2e610ad0a 100644 (file)
@@ -1355,7 +1355,8 @@ and only used if a buffer is displayed."
                   (t
                    ;; Buffer
                    (goto-char (point-min))
-                   (display-buffer message not-this-window frame))))))))
+                   (display-buffer (current-buffer)
+                                   not-this-window frame))))))))
 
 
 ;; We have a sentinel to prevent insertion of a termination message