From 4969d382def07a7064521cb84433c417781f7cea Mon Sep 17 00:00:00 2001 From: kissge Date: Sun, 24 May 2015 13:06:21 +0900 Subject: [PATCH] Move mc/list-file to the user-emacs-directory --- multiple-cursors-core.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el index 54a993f..3330384 100644 --- a/multiple-cursors-core.el +++ b/multiple-cursors-core.el @@ -524,7 +524,11 @@ 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" +(defvar mc/list-file (expand-file-name + (concat (if (boundp 'user-emacs-directory) + user-emacs-directory + "~/.emacs.d/") + ".mc-lists.el")) "The position of the file that keeps track of your preferences for running commands with multiple cursors.")