branch: externals/do-at-point
commit 09a05933f1557819e83846e71a92c20222f6cabc
Author: Philip Kaludercic <phil...@posteo.net>
Commit: Philip Kaludercic <phil...@posteo.net>

    Add key to run 'rgrep' in the current directory
---
 do-at-point.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/do-at-point.el b/do-at-point.el
index 63e4b9bbfe..e6663e894a 100644
--- a/do-at-point.el
+++ b/do-at-point.el
@@ -112,6 +112,8 @@ of this variable.")
               (write-region beg end file))))
      (?k "Kill" ,#'kill-region)
      (?n "Narrow" ,#'narrow-to-region)
+     (?g "Grep" ,(lambda (str)
+                   (rgrep (regexp-quote str) "*" ".")))
      (?$ "Spell check" ,#'ispell-region)
      (?| "Pipe command"
          ,(lambda (beg end)

Reply via email to