summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2018-08-01 19:29:43 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2018-08-01 19:29:43 +0200
commit6f782976c09679eaf3e67fbb42c6a42ed2814861 (patch)
treebaa78c897cc4a22d88f8967c66df330f39f78da9
parent96903b017cadcbe6a65af3201e015aee01e4bf06 (diff)
Fix condition in helm-dabbrev
* helm-dabbrev.el (helm-dabbrev): Check helm-dabbrev-use-thread instead of helm-dabbrev--current-thread to decide computing candidates.
-rw-r--r--helm-dabbrev.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-dabbrev.el b/helm-dabbrev.el
index ba4db6b3..01145b24 100644
--- a/helm-dabbrev.el
+++ b/helm-dabbrev.el
@@ -318,7 +318,7 @@ removed."
dabbrev))
(only-one (null (cdr (all-completions
old-dabbrev helm-dabbrev--already-tried)))))
- (unless helm-dabbrev--current-thread
+ (unless helm-dabbrev-use-thread
(message "Computing helm-dabbrev candidates...")
(setq helm-dabbrev--cache
(helm-dabbrev--get-candidates old-dabbrev))