]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/minibuffer.el (completion-table-subvert): Fix typo from rev 5697ca55cb
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 20 Mar 2019 13:58:28 +0000 (09:58 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 20 Mar 2019 13:58:28 +0000 (09:58 -0400)
lisp/minibuffer.el

index df0acbb343d46fb5fc57ab837293a401cc02b8ea..dbd24dfa0a387d345401363e7d49022e85c46268 100644 (file)
@@ -269,7 +269,7 @@ the form (concat S2 S)."
                     (+ beg (- (length s1) (length s2))))
               . ,(and (eq (car-safe res) 'boundaries) (cddr res)))))
          ((stringp res)
-          (if (string-prefix-p s2 string completion-ignore-case)
+          (if (string-prefix-p s2 res completion-ignore-case)
               (concat s1 (substring res (length s2)))))
          ((eq action t)
           (let ((bounds (completion-boundaries str table pred "")))