aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-07-09 21:40:32 -0400
committerChong Yidong2011-07-09 21:40:32 -0400
commit8e0bc3e91a47c111b12915c16a2901181295d0bc (patch)
tree15fe981744fce14d734de60c0a4cf79078148693
parent3fcf7a1c80f62a8044d0e5f0132bb7065d6823b3 (diff)
downloademacs-8e0bc3e91a47c111b12915c16a2901181295d0bc.tar.gz
emacs-8e0bc3e91a47c111b12915c16a2901181295d0bc.zip
Fix incorrect args to display-buffer-reuse-window in 2011-07-09T12:32:38Z!rudalics@gmx.at.
* lisp/window.el (display-buffer): Fix arguments to display-buffer-reuse-window in last change.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/window.el10
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6cdc0d38810..f5a6c1eeaf4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-07-10 Chong Yidong <cyd@stupidchicken.com>
2
3 * window.el (display-buffer): Fix arguments to
4 display-buffer-reuse-window in last change.
5
12011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change) 62011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
2 7
3 * emulation/viper-cmd.el (viper-change-state-to-vi): Limit 8 * emulation/viper-cmd.el (viper-change-state-to-vi): Limit
diff --git a/lisp/window.el b/lisp/window.el
index 3bc4b3e56e6..999e408bdb1 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -5737,19 +5737,19 @@ this list as arguments."
5737 (or (and (window-live-p window) window) 5737 (or (and (window-live-p window) window)
5738 ;; on the selected frame, 5738 ;; on the selected frame,
5739 (display-buffer-reuse-window 5739 (display-buffer-reuse-window
5740 buffer '(nil nil nil) other-window) 5740 buffer '(nil nil nil) nil other-window)
5741 ;; showing BUFFER on any visible frame, 5741 ;; showing BUFFER on any visible frame,
5742 (display-buffer-reuse-window 5742 (display-buffer-reuse-window
5743 buffer '(nil same visible) other-window) 5743 buffer '(nil same visible) nil other-window)
5744 ;; not showing BUFFER on any visible frame, 5744 ;; not showing BUFFER on any visible frame,
5745 (display-buffer-reuse-window 5745 (display-buffer-reuse-window
5746 buffer '(nil other visible) other-window) 5746 buffer '(nil other visible) nil other-window)
5747 ;; showing BUFFER on any visible or iconified frame, 5747 ;; showing BUFFER on any visible or iconified frame,
5748 (display-buffer-reuse-window 5748 (display-buffer-reuse-window
5749 buffer '(nil same 0) other-window) 5749 buffer '(nil same 0) nil other-window)
5750 ;; not showing BUFFER on any visible or iconified frame. 5750 ;; not showing BUFFER on any visible or iconified frame.
5751 (display-buffer-reuse-window 5751 (display-buffer-reuse-window
5752 buffer '(nil other 0) other-window) 5752 buffer '(nil other 0) nil other-window)
5753 ;; If everything failed so far, try popping up a new frame 5753 ;; If everything failed so far, try popping up a new frame
5754 ;; regardless of graphic-only restrictions. 5754 ;; regardless of graphic-only restrictions.
5755 (display-buffer-pop-up-frame buffer))))) 5755 (display-buffer-pop-up-frame buffer)))))