diff options
Diffstat (limited to 'lisp/mouse-drag.el')
-rw-r--r-- | lisp/mouse-drag.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mouse-drag.el b/lisp/mouse-drag.el index 3a29e05c8b1..009cc2efe1a 100644 --- a/lisp/mouse-drag.el +++ b/lisp/mouse-drag.el @@ -156,7 +156,7 @@ Keep the cursor on the screen as needed." "Determine if it's wise to enable col-scrolling for the current window. Basically, we check for existing horizontal scrolling." (or truncate-lines - (> (window-hscroll (selected-window)) 0) + (> (window-hscroll) 0) (not (window-full-width-p)) (and mouse-drag-electric-col-scrolling |