]> git.eshelyaron.com Git - emacs.git/commitdiff
(mouse-drag-should-do-col-scrolling): Change screen-width to frame-width.
authorRichard M. Stallman <rms@gnu.org>
Mon, 8 Jan 2001 19:12:12 +0000 (19:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 8 Jan 2001 19:12:12 +0000 (19:12 +0000)
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?