summaryrefslogtreecommitdiff
path: root/lisp/minibuffer.el
diff options
context:
space:
mode:
authorBastien Guerry <bzg@gnu.org>2014-03-05 08:04:01 +0100
committerBastien Guerry <bzg@gnu.org>2014-03-05 08:04:01 +0100
commit65cdacb51ba7324c19adb7c18581fc5cb1402c94 (patch)
tree1eb7a217e83ec5d25988fc1d721597cc965540da /lisp/minibuffer.el
parente6e8a5eb4dadbf5a0e7949a4aee6eab3dc5dec2d (diff)
downloademacs-65cdacb51ba7324c19adb7c18581fc5cb1402c94.tar.gz
Revert 2014-03-04T14:33:56Z!bzg@gnu.org.
Thanks to Leo for reporting this.
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 526fdb62bc3..bbb7114610d 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1751,7 +1751,7 @@ variables.")
(if completions "Sole completion" "No completions")))
(let* ((last (last completions))
- (base-size (or (cdr last) 0))
+ (base-size (cdr last))
(prefix (unless (zerop base-size) (substring string 0 base-size)))
(all-md (completion--metadata (buffer-substring-no-properties
start (point))