Do not perform adaptive sorting in personal shortcut helper
This never worked anyway, I would probably have had to define the source globally for adaptive sorting to work, or something like that. However, I am usually happying with the interactive narrowing of the candidates, so let's get rid of adaptive sorting for now.
This commit is contained in:
parent
b3d620d884
commit
dae26fcc5a
6
init.el
6
init.el
|
@ -2117,16 +2117,14 @@ is too slow (in this case, `db/important-document-path' should
|
||||||
eventuelly be set to nil, however)."
|
eventuelly be set to nil, however)."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(require 'helm-bookmark)
|
(require 'helm-bookmark))
|
||||||
(require 'helm-for-files)) ; for helm-source-recentf
|
|
||||||
(helm :sources (list
|
(helm :sources (list
|
||||||
(helm-make-source "Frequently Used" 'helm-source-sync
|
(helm-make-source "Frequently Used" 'helm-source-sync
|
||||||
:candidates (mapcar #'(lambda (entry)
|
:candidates (mapcar #'(lambda (entry)
|
||||||
(cons (car entry)
|
(cons (car entry)
|
||||||
(caddr entry)))
|
(caddr entry)))
|
||||||
db/frequently-used-features)
|
db/frequently-used-features)
|
||||||
:action '(("Open" . call-interactively))
|
:action '(("Open" . call-interactively)))
|
||||||
:filtered-candidate-transformer #'helm-adaptive-sort)
|
|
||||||
|
|
||||||
;; Taken from `helm-buffers-list'
|
;; Taken from `helm-buffers-list'
|
||||||
(helm-make-source "Buffers" 'helm-source-buffers)
|
(helm-make-source "Buffers" 'helm-source-buffers)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user