From 6926ca34ab51331e192fae13548a7cbf970be4c0 Mon Sep 17 00:00:00 2001 From: Magnar Sveen Date: Fri, 10 Aug 2012 22:54:19 +0200 Subject: [PATCH] Avoid strange smooth-scrolling behavior. --- multiple-cursors-core.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el index 421c146..9345e74 100644 --- a/multiple-cursors-core.el +++ b/multiple-cursors-core.el @@ -142,7 +142,8 @@ cursor with updated info." (mc/save-excursion (mc/for-each-fake-cursor (let ((id (overlay-get cursor 'mc-id)) - (annoying-arrows-mode nil)) + (annoying-arrows-mode nil) + (smooth-scroll-margin 0)) (mc/add-fake-cursor-to-undo-list (mc/pop-state-from-overlay cursor) (ignore-errors