From 61631c9d3699e6c52bae4fb3740b7ee3c2ddc825 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 10 Mar 2012 13:58:12 +0900 Subject: [PATCH] update git-command --- emacs.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 3631fee..5244b96 100644 --- a/emacs.el +++ b/emacs.el @@ -1605,12 +1605,14 @@ when SEC is nil, stop auto save if enabled." (abbreviate-file-name default-directory)) nil 'git-command-history))) - (let ((dir default-directory) (bf (get-buffer-create "*Git Output*")) + (let ((dir default-directory) + (bf (get-buffer-create "*Git Output*")) ;; (process-environment `(,@process-environment)) ;; (comint-preoutput-filter-functions '(ansi-color-apply . nil)) ;; (comint-output-filter-functions (cons 'ansi-color-process-output ;; comint-output-filter-functions)) ) + (delete-windows-on bf t) (shell-command (concat "git " cmd) bf)