From a5cc98c38e5f78499170e05077b1e297153bc498 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 12 Jun 2019 16:18:34 +0200 Subject: [PATCH] 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. --- lisp/minibuffer.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2