Ver código fonte

fix loading git-command

pull/1/head
10sr 11 anos atrás
pai
commit
952c56b592
1 arquivos alterados com 9 adições e 2 exclusões
  1. +9
    -2
      emacs.el

+ 9
- 2
emacs.el Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar