[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/bug-42149-funny-pcm-completion-scores 00ff781 6/6: Slightly simp
From: |
João Távora |
Subject: |
scratch/bug-42149-funny-pcm-completion-scores 00ff781 6/6: Slightly simplify completion-pcm--hilit-commonality |
Date: |
Mon, 28 Dec 2020 04:29:27 -0500 (EST) |
branch: scratch/bug-42149-funny-pcm-completion-scores
commit 00ff78145909857b4373e7af46aa730d68133bfe
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Slightly simplify completion-pcm--hilit-commonality
bug#42149
Two superfloous calls to the update-score local function were removed.
* lisp/minibuffer.el (completion-pcm--hilit-commonality): Simplify.
---
lisp/minibuffer.el | 2 --
1 file changed, 2 deletions(-)
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index d0ff0d4..4c912b5 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -3319,7 +3319,6 @@ with a numeric property `completion-score'."
flex-score-match-tightness)))))
(setq
last-b b))))
- (funcall update-score start start)
(while md
(funcall update-score start (car md))
(add-face-text-property
@@ -3327,7 +3326,6 @@ with a numeric property `completion-score'."
'completions-common-part
nil str)
(setq start (pop md)))
- (funcall update-score len len)
(add-face-text-property
start end
'completions-common-part
- branch scratch/bug-42149-funny-pcm-completion-scores created (now 00ff781), João Távora, 2020/12/28
- scratch/bug-42149-funny-pcm-completion-scores 8465bf1 2/6: Make a completion test robust to custom completion styles, João Távora, 2020/12/28
- scratch/bug-42149-funny-pcm-completion-scores b06aadf 1/6: Add tests for bug#42149, João Távora, 2020/12/28
- scratch/bug-42149-funny-pcm-completion-scores 1deade1 3/6: Robustify a helper function for test/lisp/minibuffer-tests.el, João Távora, 2020/12/28
- scratch/bug-42149-funny-pcm-completion-scores ec02ae5 4/6: Robustify completion match scoring for incomplete/implicit patterns, João Távora, 2020/12/28
- scratch/bug-42149-funny-pcm-completion-scores 04fdac8 5/6: Add docstring to completion-pcm--hilit-commonality, João Távora, 2020/12/28
- scratch/bug-42149-funny-pcm-completion-scores 00ff781 6/6: Slightly simplify completion-pcm--hilit-commonality,
João Távora <=