From: Richard M. Stallman Date: Mon, 8 Jan 2001 19:12:12 +0000 (+0000) Subject: (mouse-drag-should-do-col-scrolling): Change screen-width to frame-width. X-Git-Tag: emacs-pretest-21.0.95~46 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f36782bc24702882d9667e89ac66d1729eb0127c;p=emacs.git (mouse-drag-should-do-col-scrolling): Change screen-width to frame-width. --- diff --git a/lisp/mouse-drag.el b/lisp/mouse-drag.el index 0714078fdea..9affe8b488c 100644 --- a/lisp/mouse-drag.el +++ b/lisp/mouse-drag.el @@ -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?