From: Lars Ingebrigtsen Date: Tue, 11 Aug 2020 19:21:13 +0000 (+0200) Subject: Remove compat code from autoload.el X-Git-Tag: emacs-28.0.90~6672 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=db3a7dfccceb9498227ab06e981706199e1e0f1b;p=emacs.git 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. --- diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index c76de43be91..c263aa0907b 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -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