From d10025d66b25258d05fb4b85e6dc811ac5b82d59 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 5 Jan 2015 17:50:31 +0900 Subject: [PATCH] Update git-command-aliases-alist for new git-command --- emacs.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/emacs.el b/emacs.el index 7e3319e..0dc6758 100644 --- a/emacs.el +++ b/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 "