* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 6 Jun 2012 12:51:48 +0000 (08:51 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 6 Jun 2012 12:51:48 +0000 (08:51 -0400)
with "loading" messages.

Fixes: debbugs:11635

lisp/ChangeLog
lisp/emacs-lisp/macroexp.el

index 6ba7a32..343368b 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
+       with "loading" messages (bug#11635).
+
 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
 
        * files.el (enable-remote-dir-locals): New option.
index b021abe..5148245 100644 (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)