From: Artur Malabarba Date: Thu, 30 Apr 2015 00:19:01 +0000 (+0100) Subject: * lisp/emacs-lisp/package.el (package--message): inhibit-message X-Git-Tag: emacs-25.0.90~2246 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5b6c58395d0f4976323d2e5b39a06baae09dcc40;p=emacs.git * lisp/emacs-lisp/package.el (package--message): inhibit-message --- diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index a65564151bc..c3bec360faf 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1380,10 +1380,9 @@ it to the file." (defun package--message (format &rest args) "Like `message', except sometimes don't print to minibuffer. If the variable `package--silence' is non-nil, the message is not -displayed on the minibuffer." - (apply #'message format args) - (when package--silence - (message nil))) +displayed on the echo area." + (let ((inhibit-message package--silence)) + (apply #'message format args))) ;;;###autoload (defun package-import-keyring (&optional file)