]> git.eshelyaron.com Git - emacs.git/commitdiff
(display-message-or-buffer): Fix last change.
authorAndreas Schwab <schwab@suse.de>
Sat, 29 Jun 2002 18:13:06 +0000 (18:13 +0000)
committerAndreas Schwab <schwab@suse.de>
Sat, 29 Jun 2002 18:13:06 +0000 (18:13 +0000)
lisp/ChangeLog
lisp/simple.el

index 63a07fa7933d08cfe5478d02e9558c76d391fe99..85069b254ee774d9aa1cf868b5a5f5e1ffa93c5a 100644 (file)
@@ -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.
index 0b91abb8ecbc2b675fc5266a4ba2700313e1c449..416b6934f5ef19bea307a97ff1e3c34c84258806 100644 (file)
@@ -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)