Skip to content

Commit a5cc98c

Browse files
committed
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.
1 parent aa41909 commit a5cc98c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lisp/minibuffer.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,8 @@ It can find the completion buffer in `standard-output'."
17381738
(with-temp-buffer
17391739
(let ((standard-output (current-buffer))
17401740
(completion-setup-hook nil))
1741-
(display-completion-list completions common-substring))
1741+
(with-suppressed-warnings ((callargs display-completion-list))
1742+
(display-completion-list completions common-substring)))
17421743
(princ (buffer-string)))
17431744

17441745
(with-current-buffer standard-output

0 commit comments

Comments
 (0)