diff lisp/window.el @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 3ecd8885ac67
children abe6d1db359e
line wrap: on
line diff
--- a/lisp/window.el	Mon Aug 13 11:32:27 2007 +0200
+++ b/lisp/window.el	Mon Aug 13 11:33:38 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)