]> code.delx.au - gnu-emacs/blobdiff - lisp/mouse-drag.el
File regenerated.
[gnu-emacs] / lisp / mouse-drag.el
index 0714078fdeac1a82d9383da2360e2da073819f25..9affe8b488ce901e84b5826bce100dc43e00e933 100644 (file)
@@ -157,7 +157,7 @@ Keep the cursor on the screen as needed."
 Basically, we check for existing horizontal scrolling."
   (or truncate-lines
       (> (window-hscroll (selected-window)) 0)
-      (< (window-width) (screen-width))
+      (< (window-width) (frame-width))
       (and
        mouse-drag-electric-col-scrolling
        (save-excursion  ;; on a long line?