* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
Turn messages into warnings to make them more visible to the user and
provide a source location (bug#78792).
(cherry picked from commit
0de646b6a16dac8cf185c32b02d4d575830c6a31)
name macro arglist body rest)
(when macro
(if (null fun)
- (message "Macro %s unrecognized, won't work in file" name)
- (message "Macro %s partly recognized, trying our luck" name)
+ (byte-compile-warn-x
+ name "Macro %s unrecognized, won't work in file" name)
+ (byte-compile-warn-x
+ name "Macro %s partly recognized, trying our luck" name)
(push (cons name (eval fun lexical-binding))
byte-compile-macro-environment)))
(byte-compile-keep-pending form))))