branch: elpa/multiple-cursors
commit fa753aa587afc2bb7198d9ec03fcc42a550b2162
Author: Takafumi Arakaki <[email protected]>
Commit: Takafumi Arakaki <[email protected]>
Fix: mc/dump-list loosing old setting
---
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 98114e4..44c2c80 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -513,9 +513,11 @@ for running commands with multiple cursors.")
(insert "(setq " (symbol-name list-symbol) "\n"
" '(")
(newline-and-indent)
+ (set list-symbol
+ (sort value (lambda (x y) (string-lessp (symbol-name x)
+ (symbol-name y)))))
(mapc #'(lambda (cmd) (insert (format "%S" cmd)) (newline-and-indent))
- (sort value (lambda (x y) (string-lessp (symbol-name x)
- (symbol-name y)))))
+ value)
(insert "))")
(newline)))