* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output

with "loading" messages.

Fixes: debbugs:11635
This commit is contained in:
Stefan Monnier 2012-06-06 08:51:48 -04:00
parent dfb308badd
commit b7bb583819
2 changed files with 7 additions and 1 deletions

View file

@ -188,7 +188,8 @@ Assumes the caller has bound `macroexpand-all-environment'."
(or (not (eq (car-safe (symbol-function func))
'autoload))
(ignore-errors
(load (nth 1 (symbol-function func))))))
(load (nth 1 (symbol-function func))
'noerror 'nomsg))))
;; Follow the sequence of aliases.
(setq func (symbol-function func)))
(if (null handler)