]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix incorrect args to display-buffer-reuse-window in 2011-07-09T12:32:38Z!rudalics...
authorChong Yidong <cyd@stupidchicken.com>
Sun, 10 Jul 2011 01:40:32 +0000 (21:40 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 10 Jul 2011 01:40:32 +0000 (21:40 -0400)
* lisp/window.el (display-buffer): Fix arguments to
display-buffer-reuse-window in last change.

lisp/ChangeLog
lisp/window.el

index 6cdc0d38810827268d92d6a1734d48a86f4c0370..f5a6c1eeaf4c5e3b94be202bac8f6a3264f06581 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
+
+       * window.el (display-buffer): Fix arguments to
+       display-buffer-reuse-window in last change.
+
 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
 
        * emulation/viper-cmd.el (viper-change-state-to-vi): Limit
index 3bc4b3e56e649cd088e891b67169bda4182f33d7..999e408bdb112a800ae58404a84b66f85151f949 100644 (file)
@@ -5737,19 +5737,19 @@ this list as arguments."
       (or (and (window-live-p window) window)
          ;; on the selected frame,
          (display-buffer-reuse-window
-          buffer '(nil nil nil) other-window)
+          buffer '(nil nil nil) nil other-window)
          ;; showing BUFFER on any visible frame,
          (display-buffer-reuse-window
-          buffer '(nil same visible) other-window)
+          buffer '(nil same visible) nil other-window)
          ;; not showing BUFFER on any visible frame,
          (display-buffer-reuse-window
-          buffer '(nil other visible) other-window)
+          buffer '(nil other visible) nil other-window)
          ;; showing BUFFER on any visible or iconified frame,
          (display-buffer-reuse-window
-          buffer '(nil same 0) other-window)
+          buffer '(nil same 0) nil other-window)
          ;; not showing BUFFER on any visible or iconified frame.
          (display-buffer-reuse-window
-          buffer '(nil other 0) other-window)
+          buffer '(nil other 0) nil other-window)
          ;; If everything failed so far, try popping up a new frame
          ;; regardless of graphic-only restrictions.
          (display-buffer-pop-up-frame buffer)))))