diff lisp/window.el @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents aabb7f5b1c81
children 2f8bb876ab1d
line wrap: on
line diff
--- a/lisp/window.el	Mon Aug 13 11:12:06 2007 +0200
+++ b/lisp/window.el	Mon Aug 13 11:13:30 2007 +0200
@@ -295,8 +295,8 @@
 			(select-frame frame))))
 	       ;; check to make sure that the window is the full width
 	       ;; of the frame
-	       (eq (nth 2 edges)
-		   (frame-pixel-width))
+	       (window-leftmost-p window)
+	       (window-rightmost-p window)
 	       (zerop (nth 0 edges))
 	       ;; The whole buffer must be visible.
 	       (pos-visible-in-window-p (point-min) window)