summaryrefslogtreecommitdiff
path: root/helm-utils.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-04-16 08:42:38 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-04-16 08:42:38 +0200
commit0349e4e05eb8d613e91b62aa7be7923a354da5c9 (patch)
tree4851e1878867b8e834c74cdbf60b92580997c8d1 /helm-utils.el
parentf0cc1d6d3c120366d54b4fff1e0a16dbed311fd9 (diff)
Get rid of helm-default-directory, the variable, use now the fn.
* helm.el (helm-default-directory): the var is removed. (helm-default-directory): the fn, return local value of default-directory instead. (helm-resume): Use local val of default-directory. (helm-create-helm-buffer): Remove local setting of helm-default-directory. * helm-utils.el: Use now helm-default-directory, the fn. * helm-grep.el: Same. * helm-files.el: Same.
Diffstat (limited to 'helm-utils.el')
-rw-r--r--helm-utils.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-utils.el b/helm-utils.el
index e3f5b937..6e5853a6 100644
--- a/helm-utils.el
+++ b/helm-utils.el
@@ -236,7 +236,7 @@ To use this add it to `helm-goto-line-before-hook'."
With a numeric prefix arg show only the ARG number of candidates."
(interactive "p")
(with-helm-window
- (with-helm-default-directory helm-default-directory
+ (with-helm-default-directory (helm-default-directory)
(let ((helm-candidate-number-limit (and (> arg 1) arg)))
(helm-set-source-filter
(list (assoc-default 'name (helm-get-current-source))))))))