aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/follow.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/follow.el b/lisp/follow.el
index 3fcdf24f4f2..2c9365b2ba6 100644
--- a/lisp/follow.el
+++ b/lisp/follow.el
@@ -1259,6 +1259,8 @@ non-first windows in Follow mode."
1259 1259
1260 ;; If the region is visible, make it look good when spanning 1260 ;; If the region is visible, make it look good when spanning
1261 ;; multiple windows. 1261 ;; multiple windows.
1262
1263 ;; FIXME: Why not use `use-region-p' here?
1262 (when (region-active-p) 1264 (when (region-active-p)
1263 (follow-maximize-region 1265 (follow-maximize-region
1264 (selected-window) windows win-start-end))) 1266 (selected-window) windows win-start-end)))