summaryrefslogtreecommitdiff
path: root/helm-locate.el
diff options
context:
space:
mode:
authorYork Zhao <gtdplatform@gmail.com>2015-11-08 10:58:33 -0500
committerYork Zhao <gtdplatform@gmail.com>2015-11-08 10:58:33 -0500
commitee5a6eceba8484e0028bfed062b672d92d54ecff (patch)
tree802684ec0658f2b4e6196cfb7fcc9e31956c23c0 /helm-locate.el
parent5d19ff5164eee22d29a2457e2beb32ac9166741b (diff)
Make "file name at point" the default input for helm-locate
Diffstat (limited to 'helm-locate.el')
-rw-r--r--helm-locate.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-locate.el b/helm-locate.el
index bd0e38f5..dc7f8aea 100644
--- a/helm-locate.el
+++ b/helm-locate.el
@@ -389,7 +389,7 @@ Where db_path is a filename matched by
`helm-locate-db-file-regexp'."
(interactive "P")
(setq helm-ff-default-directory default-directory)
- (helm-locate-1 arg))
+ (helm-locate-1 arg nil nil (thing-at-point 'filename)))
(provide 'helm-locate)