From cd7eb4bee1805ca810332e495d566a555e2c9196 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Sun, 1 Aug 2021 22:58:09 +0300 Subject: [PATCH] * lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload): Display warning. https://lists.gnu.org/archive/html/emacs-devel/2021-08/msg00007.html --- lisp/emacs-lisp/autoload.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 9d1ae705976..e9a20634af8 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -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) -- 2.39.2