* lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload): Display warning.

https://lists.gnu.org/archive/html/emacs-devel/2021-08/msg00007.html
This commit is contained in:
Juri Linkov 2021-08-01 22:58:09 +03:00
parent b72f88518b
commit cd7eb4bee1

View file

@ -626,8 +626,8 @@ Don't try to split prefixes that are already longer than that.")
(radix-tree-iter-mappings
(cdr x) (lambda (s _)
(push (concat prefix s) dropped)))
(message "Not registering prefix \"%s\" from %s. Affects: %S"
prefix file dropped)
(message "%s:0: Warning: Not registering prefix \"%s\". Affects: %S"
file prefix dropped)
nil))))
prefixes)))
`(register-definition-prefixes ,file ',(sort (delq nil strings)