mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Use locate-user-emacs-file to find directory for .mc-lists.el
This commit is contained in:
parent
66b1127489
commit
142fdd6534
@ -524,11 +524,7 @@ 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 (expand-file-name
|
(defvar mc/list-file (locate-user-emacs-file ".mc-lists.el")
|
||||||
(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
|
"The position of the file that keeps track of your preferences
|
||||||
for running commands with multiple cursors.")
|
for running commands with multiple cursors.")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user