]> git.eshelyaron.com Git - emacs.git/commitdiff
minibuffer.el: Remove leftover code, unused after recent change
authorJuanma Barranquero <lekktu@gmail.com>
Sun, 27 Oct 2019 00:31:50 +0000 (02:31 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 27 Oct 2019 00:31:50 +0000 (02:31 +0200)
* lisp/minibuffer.el (completion-pcm--hilit-commonality):
Don't set point-idx.

lisp/minibuffer.el

index 6a041d1b739930903e131aca3b11f98403efa561..542e672400ac52454a76d9d7226f2adf7c2630c9 100644 (file)
@@ -3074,7 +3074,6 @@ latter (which has two).")
 (defun completion-pcm--hilit-commonality (pattern completions)
   (when completions
     (let* ((re (completion-pcm--pattern->regex pattern 'group))
-           (point-idx (completion-pcm--pattern-point-idx pattern))
            (case-fold-search completion-ignore-case))
       (mapcar
        (lambda (str)