diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-11 21:21:13 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-11 21:21:13 +0200 |
commit | db3a7dfccceb9498227ab06e981706199e1e0f1b (patch) | |
tree | e3b188f0e7ca6fff048aae9bfd8a658558bbbd21 /lisp/emacs-lisp | |
parent | 4d00db5538dc0ef47cf1cdf425b895d04145fe9e (diff) | |
download | emacs-db3a7dfccceb9498227ab06e981706199e1e0f1b.tar.gz emacs-db3a7dfccceb9498227ab06e981706199e1e0f1b.tar.bz2 emacs-db3a7dfccceb9498227ab06e981706199e1e0f1b.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 5 |
1 files changed, 2 insertions, 3 deletions
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 |