diff lisp/window.el @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 2f8bb876ab1d
children
line wrap: on
line diff
--- a/lisp/window.el	Mon Aug 13 11:19:22 2007 +0200
+++ b/lisp/window.el	Mon Aug 13 11:20:41 2007 +0200
@@ -295,8 +295,8 @@
 			(select-frame frame))))
 	       ;; check to make sure that the window is the full width
 	       ;; of the frame
-	       (window-leftmost-p window)
-	       (window-rightmost-p window)
+	       (eq (nth 2 edges)
+		   (frame-pixel-width))
 	       (zerop (nth 0 edges))
 	       ;; The whole buffer must be visible.
 	       (pos-visible-in-window-p (point-min) window)
@@ -351,4 +351,5 @@
                   minibuf all-frames device)
     wins))
 
+
 ;;; window.el ends here