Helm: Properly remove helm-ff--cache-mode-reset-timer from post-command-hook.
parent
0232ba6a8a
commit
1dfccd7c56
|
@ -74,16 +74,13 @@
|
||||||
|
|
||||||
;; Default needs special font
|
;; Default needs special font
|
||||||
helm-ff-cache-mode-lighter " ⚒"
|
helm-ff-cache-mode-lighter " ⚒"
|
||||||
helm-ff-keep-cached-candidates nil ; 'all tends to run out-of-sync to frequently.
|
|
||||||
|
|
||||||
helm-window-show-buffers-function 'helm-window-mosaic-fn
|
helm-window-show-buffers-function 'helm-window-mosaic-fn
|
||||||
helm-window-prefer-horizontal-split t)
|
helm-window-prefer-horizontal-split t)
|
||||||
|
|
||||||
(unless helm-ff-keep-cached-candidates
|
; Helm cache tends to run out-of-sync to frequently when set to 'all.
|
||||||
;; For removing hook from `post-command-hook' since
|
(helm-ff-cache-mode-remove-hooks) ; Just setting `helm-ff-keep-cached-candidates' to nil does not seem to remove the hook. Upstream bug?
|
||||||
;; `helm-ff-keep-cached-candidates' does not seem to do it.
|
(setq helm-ff-keep-cached-candidates nil)
|
||||||
;; Upstream bug?
|
|
||||||
(helm-ff-cache-mode-remove-hooks))
|
|
||||||
|
|
||||||
(defun ambrevar/helm-split-window-combined-fn (window)
|
(defun ambrevar/helm-split-window-combined-fn (window)
|
||||||
"Helm window splitting that combined most standard features.
|
"Helm window splitting that combined most standard features.
|
||||||
|
|
Loading…
Reference in New Issue