瀏覽代碼

fix loading git-command

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

+ 9
- 2
emacs.el 查看文件

@@ -827,8 +827,15 @@ found, otherwise returns nil."
(and (fetch-library
"https://raw.github.com/10sr/emacs-lisp/master/git-command.el"
t)
(lazy-load-eval 'git-command)
(setq git-command-default-options "-c color.ui=always")
(lazy-load-eval 'git-command
nil
(add-to-list 'git-command-major-mode-alist
'("di" . diff-mode))
(add-to-list 'git-command-major-mode-alist
'("graph" . fundamental-mode))
(add-to-list 'git-command-major-mode-alist
'("log" . fundamental-mode)))
;; (setq git-command-default-options "-c color.ui=always")
(define-key ctl-x-map "g" 'git-command))

(and (fetch-library


Loading…
取消
儲存