From: Andreas Schwab Date: Sat, 29 Jun 2002 18:13:06 +0000 (+0000) Subject: (display-message-or-buffer): Fix last change. X-Git-Tag: ttn-vms-21-2-B4~14384 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=61b80ebf7f608cc2914d706ea4d167598e0d1b10;p=emacs.git (display-message-or-buffer): Fix last change. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 63a07fa7933..85069b254ee 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,7 @@ * simple.el (shell-command-on-region): Handle errors and signals from shell command execution. + (display-message-or-buffer): Fix last change. * dired.el (dired-view-file): Quote file name for dired-run-shell-command. diff --git a/lisp/simple.el b/lisp/simple.el index 0b91abb8ecb..416b6934f5e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1348,7 +1348,7 @@ and only used if a buffer is displayed." 1))) ;; Don't use the echo area if the output buffer is ;; already dispayed in the selected frame. - (not (get-buffer-window buffer))) + (not (get-buffer-window (current-buffer)))) ;; Echo area (goto-char (point-max)) (when (bolp)