mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 21:03:05 +00:00
Sort before saving list in mc/save-lists
This commit is contained in:
parent
00f905549e
commit
f4d5aea860
@ -486,7 +486,8 @@ for running commands with multiple cursors.")
|
||||
" '(")
|
||||
(newline-and-indent)
|
||||
(mapc #'(lambda (cmd) (insert (format "%S" cmd)) (newline-and-indent))
|
||||
value)
|
||||
(sort value (lambda (x y) (string-lessp (symbol-name x)
|
||||
(symbol-name y)))))
|
||||
(insert "))")
|
||||
(newline)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user