* Sort definition-prefixes?
@ 2018-04-19 0:41 Glenn Morris
2018-04-19 12:43 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2018-04-19 0:41 UTC (permalink / raw)
To: emacs-devel; +Cc: Stefan Monnier
Hi,
Should definition prefixes be sorted to prevent meaningless churn like
in http://lists.gnu.org/r/emacs-diffs/2018-04/msg00007.html ?
Or is the frequency (?) order that they are now in useful for anything?
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -607,7 +607,8 @@ autoload--make-defs-autoload
nil))))
prefixes)))
`(if (fboundp 'register-definition-prefixes)
- (register-definition-prefixes ,file ',(delq nil strings)))))))
+ (register-definition-prefixes ,file ',(sort (delq nil strings)
+ 'string<)))))))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-19 12:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-19 0:41 Sort definition-prefixes? Glenn Morris
2018-04-19 12:43 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).