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

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

[nongnu] elpa/multiple-cursors 277aef4 393/434: Make mc/list-file into d


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 277aef4 393/434: Make mc/list-file into defcustom
Date: Sat, 7 Aug 2021 09:21:07 -0400 (EDT)

branch: elpa/multiple-cursors
commit 277aef4f0bbbbbbdb3188a69a2605662c9774021
Author: Matus Goljer <goljer@logio.cz>
Commit: Matus Goljer <goljer@logio.cz>

    Make mc/list-file into defcustom
---
 multiple-cursors-core.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index 5e9ed76..2c255c1 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -575,9 +575,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 (locate-user-emacs-file ".mc-lists.el")
+(defcustom 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.")
+for running commands with multiple cursors."
+  :type 'file
+  :group 'multiple-cursors)
 
 (defun mc/dump-list (list-symbol)
   "Insert (setq 'LIST-SYMBOL LIST-VALUE) to current buffer."



reply via email to

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