From e36e3bd66c5cb9b9d3a604017c75e356e2678abd Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 14 Oct 2024 00:43:26 +0100 Subject: 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. --- Emacs/.config/emacs/elisp/search.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Emacs/.config/emacs/elisp/search.el') 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" -- cgit v1.2.3-13-gbd6f