summaryrefslogtreecommitdiff
path: root/helm-adaptive.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-23 15:02:54 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-23 15:02:54 +0100
commit08941dee6bce79ff1cb456e8f28483f47b8486b1 (patch)
tree9410150e64882821c75114baf05591c325bb5b5e /helm-adaptive.el
parenta7e01d435a188841eb52f9d9fa3ffb392572d965 (diff)
Ensure to not addition timestamp with freq.
* helm-adaptive.el (helm-adaptive-sort): Do it.
Diffstat (limited to 'helm-adaptive.el')
-rw-r--r--helm-adaptive.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-adaptive.el b/helm-adaptive.el
index 27f30a01..b3d0c397 100644
--- a/helm-adaptive.el
+++ b/helm-adaptive.el
@@ -203,7 +203,8 @@ This is a filtered candidate transformer you can use with the
(assq 'timestamp infos))
(* cr (+ (float-time) (cdr it)))
0)
- do (cl-loop for (pattern . score) in infos
+ do (cl-loop for (pattern . score) in
+ (remove (assq 'timestamp infos) infos)
;; If current pattern is equal to
;; the previously used one then
;; this candidate has priority