summaryrefslogtreecommitdiff
path: root/lisp/minibuffer.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/minibuffer.el')
-rw-r--r--lisp/minibuffer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index cbe0269eaaf..f6fe6f849aa 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1131,7 +1131,7 @@ PATTERN is as returned by `completion-pcm--string->pattern'."
(regex (completion-pcm--pattern->regex pattern))
(completion-regexp-list (cons regex completion-regexp-list))
(compl (all-completions
- (if (stringp (car pattern)) (car pattern))
+ (if (stringp (car pattern)) (car pattern) "")
table pred))
(last (last compl)))
;; FIXME: If `base-size' is not 0, we have a problem :-(