summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2015-04-29 11:18:25 +0200
committerMichael Albinus <michael.albinus@gmx.de>2015-04-29 11:18:25 +0200
commit13cf735fb1c4685c0b4e7a7f8554d2064dc70073 (patch)
tree1d2ec670cf3a02a313fd415a196466e1f82686d7 /lisp/emacs-lisp
parent7fbdb57f801159618f761b8dd510516575b6c5b2 (diff)
parent3c0ea587daf8b17960b90603a70e3ac4057d883d (diff)
downloademacs-13cf735fb1c4685c0b4e7a7f8554d2064dc70073.tar.gz
emacs-13cf735fb1c4685c0b4e7a7f8554d2064dc70073.tar.bz2
emacs-13cf735fb1c4685c0b4e7a7f8554d2064dc70073.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 51bbf8a2944..d732c730bff 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -986,9 +986,8 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'."
"Like `message', except sometimes don't print to minibuffer.
If the variable `byte-compile--interactive' is nil, the message
is not displayed on the minibuffer."
- (apply #'message format args)
- (unless byte-compile--interactive
- (message nil)))
+ (let ((inhibit-message (not byte-compile--interactive)))
+ (apply #'message format args)))
;; Log something that isn't a warning.
(defun byte-compile-log-1 (string)