]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload):
authorGlenn Morris <rgm@gnu.org>
Thu, 19 Apr 2018 17:09:24 +0000 (13:09 -0400)
committerGlenn Morris <rgm@gnu.org>
Thu, 19 Apr 2018 17:09:24 +0000 (13:09 -0400)
Sort definition-prefixes, for stability.

lisp/emacs-lisp/autoload.el

index 5274ec880cd0ea896c826ad3a50b44b706aa62e1..c458e7b1cb6ec279ede1eff5f836b699d50809af 100644 (file)
@@ -607,7 +607,8 @@ Don't try to split prefixes that are already longer than that.")
                       nil))))
               prefixes)))
         `(if (fboundp 'register-definition-prefixes)
-             (register-definition-prefixes ,file ',(delq nil strings)))))))
+             (register-definition-prefixes ,file ',(sort (delq nil strings)
+                                                        'string<)))))))
 
 (defun autoload--setup-output (otherbuf outbuf absfile load-name)
   (let ((outbuf