瀏覽代碼

add my-rgrep-gitgrep

pull/1/head
10sr 10 年之前
父節點
當前提交
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: "


Loading…
取消
儲存