summaryrefslogtreecommitdiff
path: root/do-at-point.el
diff options
context:
space:
mode:
Diffstat (limited to 'do-at-point.el')
-rw-r--r--do-at-point.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/do-at-point.el b/do-at-point.el
index 63e4b9b..e6663e8 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)