Remove compat code from autoload.el

* lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload):
register-definition-prefixes is in subr.el, so it shouldn't be
necessary to check whether it's defined.
This commit is contained in:
Lars Ingebrigtsen 2020-08-11 21:21:13 +02:00
parent 4d00db5538
commit db3a7dfccc

View file

@ -604,9 +604,8 @@ Don't try to split prefixes that are already longer than that.")
prefix file dropped)
nil))))
prefixes)))
`(if (fboundp 'register-definition-prefixes)
(register-definition-prefixes ,file ',(sort (delq nil strings)
'string<)))))))
`(register-definition-prefixes ,file ',(sort (delq nil strings)
'string<))))))
(defun autoload--setup-output (otherbuf outbuf absfile load-name)
(let ((outbuf