]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove compat code from autoload.el
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Aug 2020 19:21:13 +0000 (21:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Aug 2020 19:21:13 +0000 (21:21 +0200)
* 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.

lisp/emacs-lisp/autoload.el

index c76de43be918168eabaaaccc2bf0b971670dfab9..c263aa0907bdc565c00a57b940eb4f972e7cf610 100644 (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