mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Place the file definition with the save definition.
This commit is contained in:
parent
df5f83ae27
commit
c3c454441b
@ -294,6 +294,10 @@ from being executed if in multiple-cursors-mode."
|
|||||||
(overlay-put cursor 'kill-ring kill-ring)
|
(overlay-put cursor 'kill-ring kill-ring)
|
||||||
(overlay-put cursor 'kill-ring-yank-pointer kill-ring-yank-pointer)))))))
|
(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 ()
|
(defun mc/save-lists ()
|
||||||
(with-temp-file mc/list-file
|
(with-temp-file mc/list-file
|
||||||
(emacs-lisp-mode)
|
(emacs-lisp-mode)
|
||||||
@ -361,10 +365,6 @@ from being executed if in multiple-cursors-mode."
|
|||||||
windmove-up
|
windmove-up
|
||||||
windmove-down))
|
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
|
(defvar mc--default-cmds-to-run-for-all nil
|
||||||
"Default set of commands that should be mirrored by all cursors")
|
"Default set of commands that should be mirrored by all cursors")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user