From 31252c009cdf886f8e4f7eaff7a19e61fa385251 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 15 Oct 2001 01:01:21 +0000 Subject: [PATCH] (display-message-or-buffer): Pass the correct buffer to `display-buffer'. --- lisp/ChangeLog | 5 +++++ lisp/simple.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c021cee952f..a77f5728ab5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-10-15 Miles Bader + + * simple.el (display-message-or-buffer): Pass the correct buffer + to `display-buffer'. + 2001-10-14 Stefan Monnier * progmodes/executable.el (executable-binary-suffixes): Make varalias. diff --git a/lisp/simple.el b/lisp/simple.el index b80a2bdf273..deb1737f4f9 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1305,7 +1305,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 -- 2.39.2