浏览代码

add my-rgrep-gitgrep

pull/1/head
10sr 11 年前
父节点
当前提交
fafacb4d13
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el 查看文件

@@ -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: "


正在加载...
取消
保存