Browse Source

add my-rgrep-gitgrep

pull/1/head
10sr 11 years ago
parent
commit
fafacb4d13
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el View File

@@ -2117,6 +2117,13 @@ This function accept no argument and return newly created buffer of terminal.")
'grep-find-history)))
(my-rgrep command-args))

(defun my-rgrep-gitgrep (command-args)
"My recursive grep."
(interactive (list (read-shell-command "grep command: "
my-rgrep-gitgrep
'grep-find-history)))
(my-rgrep command-args))

(defun my-rgrep-global (command-args)
"My recursive grep by gnu global."
(interactive (list (read-shell-command "grep command: "


Loading…
Cancel
Save