瀏覽代碼

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

pull/1/head
10sr 10 年之前
父節點
當前提交
d8f8ceb1f8
共有 1 個檔案被更改,包括 5 行新增1 行删除
  1. +5
    -1
      emacs.el

+ 5
- 1
emacs.el 查看文件

@@ -928,7 +928,11 @@ found, otherwise returns nil."
(add-to-list 'git-command-major-mode-alist
'("graph" . fundamental-mode))
(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")
(define-key ctl-x-map "g" 'git-command))



Loading…
取消
儲存