mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 21:03:05 +00:00
Don't use next-line non-interactively
This commit is contained in:
parent
26544fab57
commit
466d8bd4f8
@ -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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user