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:
parent
4d00db5538
commit
db3a7dfccc
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue