From: Lars Ingebrigtsen Date: Wed, 12 Jun 2019 14:18:34 +0000 (+0200) Subject: Suppress warning in display-completion-list about itself X-Git-Tag: emacs-27.0.90~2610 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a5cc98c38e5f78499170e05077b1e297153bc498;p=emacs.git Suppress warning in display-completion-list about itself * lisp/minibuffer.el (display-completion-list): `display-completion-list' calls itself with the old, obsolete callargs, so suppress this warning. --- diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index ed610c16ee3..57702760fbc 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -1738,7 +1738,8 @@ It can find the completion buffer in `standard-output'." (with-temp-buffer (let ((standard-output (current-buffer)) (completion-setup-hook nil)) - (display-completion-list completions common-substring)) + (with-suppressed-warnings ((callargs display-completion-list)) + (display-completion-list completions common-substring))) (princ (buffer-string))) (with-current-buffer standard-output