emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 78c9c2a: * lisp/minibuffer.el (completion-table-sub


From: Stefan Monnier
Subject: [Emacs-diffs] master 78c9c2a: * lisp/minibuffer.el (completion-table-subvert): Fix typo from rev 5697ca55cb
Date: Wed, 20 Mar 2019 09:58:54 -0400 (EDT)

branch: master
commit 78c9c2a110aa94e82c90549c81e8911a006ee538
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/minibuffer.el (completion-table-subvert): Fix typo from rev 
5697ca55cb
---
 lisp/minibuffer.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index df0acbb..dbd24df 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -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 "")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]