~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
el/dot-emacs.el (mdw-regexp): Sort the input list.
[profile]
/
el
/
dot-emacs.el
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index
48819b4
..
7fe8757
100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-62,7
+62,7
@@
This may be at the expense of cool features.")
"Turn a LIST of strings into a single regular expression at compile-time."
(declare (indent nil)
(debug 0))
"Turn a LIST of strings into a single regular expression at compile-time."
(declare (indent nil)
(debug 0))
- `',(make-regexp
list
))
+ `',(make-regexp
(sort (copy-list list) #'string<)
))
(defun mdw-wrong ()
"This is not the key sequence you're looking for."
(defun mdw-wrong ()
"This is not the key sequence you're looking for."