aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/elisp/search.el
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-14 00:43:26 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-14 00:43:26 +0100
commite36e3bd66c5cb9b9d3a604017c75e356e2678abd (patch)
tree7a6269fc930a6d4a8913b33a0f5fd5c2f6c011cf /Emacs/.config/emacs/elisp/search.el
parent6cc2b76332a69eb9fdce29daef91190ec8f5f633 (diff)
downloaddotfiles-e36e3bd66c5cb9b9d3a604017c75e356e2678abd.tar.gz
dotfiles-e36e3bd66c5cb9b9d3a604017c75e356e2678abd.tar.bz2
dotfiles-e36e3bd66c5cb9b9d3a604017c75e356e2678abd.zip
Changes to Emacs config (can't explain because moving to elpaca)
I'm having issues with freezing the new versions of stuff in straight for Emacs 30. Moving to elpaca to hopefully get out of that.
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"