From 5b6c58395d0f4976323d2e5b39a06baae09dcc40 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Thu, 30 Apr 2015 01:19:01 +0100 Subject: [PATCH] * lisp/emacs-lisp/package.el (package--message): inhibit-message --- lisp/emacs-lisp/package.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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) -- 2.39.2