diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2013-09-05 13:09:46 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2013-09-05 13:09:46 +0200 |
commit | e5358e3ee548110997d0c77e557057f01bdc03c0 (patch) | |
tree | cb4235500c9e4acd3be0a2cb4e4a5bc2eef9b41d /helm-net.el | |
parent | 1fbd9f94c17b84c7408aedd4bb376f98de0e9b27 (diff) |
* helm-net.el (helm-surfraw): default read-string arg is thing-at-point.
Diffstat (limited to 'helm-net.el')
-rw-r--r-- | helm-net.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-net.el b/helm-net.el index c7b11b02..6a2ad690 100644 --- a/helm-net.el +++ b/helm-net.el @@ -327,7 +327,8 @@ Return an alist with elements like (data . number_results)." (defun helm-surfraw (pattern engine) "Preconfigured `helm' to search PATTERN with search ENGINE." (interactive (list (read-string "SearchFor: " - nil 'helm-surfraw-input-history) + nil 'helm-surfraw-input-history + (thing-at-point 'symbol)) (helm-comp-read "Engine: " (helm-build-elvi-list) |