Revert 2014-03-04T14:33:56Z!bzg@gnu.org.
authorBastien Guerry <bzg@gnu.org>
Wed, 5 Mar 2014 07:04:01 +0000 (08:04 +0100)
committerBastien Guerry <bzg@gnu.org>
Wed, 5 Mar 2014 07:04:01 +0000 (08:04 +0100)
Thanks to Leo for reporting this.

lisp/ChangeLog
lisp/minibuffer.el

index 939f150..d799dbb 100644 (file)
        * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
        `tramp-send-command-and-check'.
 
-2014-03-04  Bastien Guerry  <bzg@gnu.org>
-
-       * minibuffer.el (minibuffer-completion-help): Use 0 as the
-       fallback value for `base-size'.  (Bug#16933)
-
 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
 
        * hexl.el (hexl-address-region, hexl-ascii-region)
index 526fdb6..bbb7114 100644 (file)
@@ -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))