emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors 4969d38 331/434: Move mc/list-file to the


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 4969d38 331/434: Move mc/list-file to the user-emacs-directory
Date: Sat, 7 Aug 2021 09:20:53 -0400 (EDT)

branch: elpa/multiple-cursors
commit 4969d382def07a7064521cb84433c417781f7cea
Author: kissge <mail@yo.eki.do>
Commit: kissge <mail@yo.eki.do>

    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.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]