diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el index 233eff5..6e37c63 100644 --- a/multiple-cursors-core.el +++ b/multiple-cursors-core.el @@ -398,7 +398,7 @@ for running commands with multiple cursors.") (insert "(setq mc/cmds-to-run-for-all '(") (mapc #'(lambda (cmd) (insert (format "%S" cmd)) (newline-and-indent)) mc/cmds-to-run-for-all) (when mc/cmds-to-run-for-all - (next-line -1) + (forward-line -1) (end-of-line)) (insert "))") (newline) @@ -406,7 +406,7 @@ for running commands with multiple cursors.") (insert "(setq mc/cmds-to-run-once '(") (mapc #'(lambda (cmd) (insert (format "%S" cmd)) (newline-and-indent)) mc/cmds-to-run-once) (when mc/cmds-to-run-once - (next-line -1) + (forward-line -1) (end-of-line)) (insert "))") (newline)))