* lisp/minibuffer.el (display-completion-list) : The function
completion--insert-string already has a condition for when completions
is nil.
(with-current-buffer standard-output
(goto-char (point-max))
- (when completions
- (when completion-header-format
- (insert (format completion-header-format (length completions))))
- (completion--insert-strings completions group-fun))))
+ (when completion-header-format
+ (insert (format completion-header-format (length completions))))
+ (completion--insert-strings completions group-fun)))
(run-hooks 'completion-setup-hook)
nil)