emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master db3a7df: Remove compat code from autoload.el


From: Lars Ingebrigtsen
Subject: master db3a7df: Remove compat code from autoload.el
Date: Tue, 11 Aug 2020 15:22:13 -0400 (EDT)

branch: master
commit db3a7dfccceb9498227ab06e981706199e1e0f1b
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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.
---
 lisp/emacs-lisp/autoload.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index c76de43..c263aa0 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]