Browse Source

emacs.el: Add git-command-prompt-file candidate

pull/1/head
10sr 10 years ago
parent
commit
d8f8ceb1f8
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      emacs.el

+ 5
- 1
emacs.el View File

@@ -928,7 +928,11 @@ found, otherwise returns nil."
(add-to-list 'git-command-major-mode-alist (add-to-list 'git-command-major-mode-alist
'("graph" . fundamental-mode)) '("graph" . fundamental-mode))
(add-to-list 'git-command-major-mode-alist (add-to-list 'git-command-major-mode-alist
'("log" . fundamental-mode)))
'("log" . fundamental-mode))
(or git-command-prompt-file
(setq git-command-prompt-file
(git-command-find-git-ps1
"/usr/share/git-core/contrib/completion/git-prompt.sh"))))
;; (setq git-command-default-options "-c color.ui=always") ;; (setq git-command-default-options "-c color.ui=always")
(define-key ctl-x-map "g" 'git-command)) (define-key ctl-x-map "g" 'git-command))




Loading…
Cancel
Save