X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/9331bb8c928742c8994ae04c9700b6cc8d881242..48a9c9c1a60f4f5ebc71a5e5269b01109c9dcfa4:/el/dot-emacs.el diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 48819b4..7fe8757 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -62,7 +62,7 @@ (defmacro mdw-regexps (&rest list) "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."