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

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

[nongnu] elpa/multiple-cursors 142fdd6 337/434: Use locate-user-emacs-fi


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 142fdd6 337/434: Use locate-user-emacs-file to find directory for .mc-lists.el
Date: Sat, 7 Aug 2021 09:20:54 -0400 (EDT)

branch: elpa/multiple-cursors
commit 142fdd6534c888c29627d29cdf730870740536ee
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Use locate-user-emacs-file to find directory for .mc-lists.el
---
 multiple-cursors-core.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index 3330384..8971a42 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -524,11 +524,7 @@ 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 (expand-file-name
-                      (concat (if (boundp 'user-emacs-directory)
-                                  user-emacs-directory
-                                "~/.emacs.d/")
-                              ".mc-lists.el"))
+(defvar mc/list-file (locate-user-emacs-file ".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]