From 70ad3da9ecdb3f7b149f78d436913f7352101093 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Wed, 8 Aug 2007 05:51:36 +0000 Subject: Use window-full-width-p instead of comparing frame-width and window-width. --- lisp/mouse-drag.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/mouse-drag.el') diff --git a/lisp/mouse-drag.el b/lisp/mouse-drag.el index f1d56eccc66..bfb199ab897 100644 --- a/lisp/mouse-drag.el +++ b/lisp/mouse-drag.el @@ -158,7 +158,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) (frame-width)) + (not (window-full-width-p)) (and mouse-drag-electric-col-scrolling (save-excursion ;; on a long line? -- cgit v1.2.1