aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/elisp/search.el
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs/elisp/search.el')
-rw-r--r--Emacs/.config/emacs/elisp/search.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/elisp/search.el b/Emacs/.config/emacs/elisp/search.el
index 0afa2b3..c55d3c1 100644
--- a/Emacs/.config/emacs/elisp/search.el
+++ b/Emacs/.config/emacs/elisp/search.el
@@ -60,7 +60,7 @@ Returns a list of files with the directory preprended to them."
(defun +search/search-all ()
(interactive)
- (let ((term (read-string "Search for: "))
+ (let ((term (read-string "Search for: " (thing-at-point 'symbol)))
(candidates (+search/-format-grep-candidates)))
(grep
(format "grep --color=auto -nIHZe \"%s\" -- %s"