summaryrefslogtreecommitdiff
path: root/lisp/minibuffer.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-04-28 13:57:20 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-04-28 13:57:20 +0000
commit602f074a510a2e6ce5b9ba4be6cbaa32279febae (patch)
tree97b07443bf74dcbe9fa3543ca4d969b508be9adc /lisp/minibuffer.el
parentfb8a6326537d41cabfbb8528dbc5fcfbb65c2f0f (diff)
downloademacs-602f074a510a2e6ce5b9ba4be6cbaa32279febae.tar.gz
(completion-pcm--all-completions): Don't pass nil to all-completions.
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 :-(