branch: elpa/multiple-cursors
commit c3c454441bed031e507201b6e0730d13e0d3c359
Author: Magnar Sveen <[email protected]>
Commit: Magnar Sveen <[email protected]>
Place the file definition with the save definition.
---
multiple-cursors-core.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index 52e6425..a24ebc7 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -294,6 +294,10 @@ from being executed if in multiple-cursors-mode."
(overlay-put cursor 'kill-ring kill-ring)
(overlay-put cursor 'kill-ring-yank-pointer
kill-ring-yank-pointer)))))))
+(defvar mc/list-file "~/.emacs.d/.mc-lists.el"
+ "The position of the file that keeps track of your preferences
+for running commands with multiple cursors.")
+
(defun mc/save-lists ()
(with-temp-file mc/list-file
(emacs-lisp-mode)
@@ -361,10 +365,6 @@ from being executed if in multiple-cursors-mode."
windmove-up
windmove-down))
-(defvar mc/list-file "~/.emacs.d/.mc-lists.el"
- "The position of the file that keeps track of your preferences
-for running commands with multiple cursors.")
-
(defvar mc--default-cmds-to-run-for-all nil
"Default set of commands that should be mirrored by all cursors")