Преглед на файлове

Update git-command-aliases-alist for new git-command

pull/1/head
10sr преди 9 години
родител
ревизия
d10025d66b
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. +4
    -3
      emacs.el

+ 4
- 3
emacs.el Целия файл

@@ -990,12 +990,13 @@ found, otherwise returns nil."
(when (boundp 'git-command-aliases-alist)
;; (message "new version of git-command!")
(add-to-list 'git-command-aliases-alist
'("di" . (lambda (options cmd args)
'("di" . (lambda (options cmd args new-buffer-p)
(git-command-exec options
"diff"
args))))
args
new-buffer-p))))
(add-to-list 'git-command-aliases-alist
'("grep" . (lambda (options cmd args)
'("grep" . (lambda (options cmd args new-buffer-p)
(my-rgrep
(concat
"git "


Зареждане…
Отказ
Запис