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?