Pārlūkot izejas kodu

Remove gited-list keybind and instead add gited alias

master
10sr pirms 5 gadiem
vecāks
revīzija
1430521426
Parakstījis: 10sr GPG atslēgas ID: C384BB17CBB19347
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. +4
    -2
      emacs.el

+ 4
- 2
emacs.el Parādīt failu

@@ -1362,8 +1362,10 @@ found, otherwise returns nil."
(when (autoload-eval-lazily 'git-command)
(define-key ctl-x-map "g" 'git-command))

(when (autoload-eval-lazily 'gited)
(define-key ctl-x-map (kbd "C-g") 'gited-list))
;; This keybind cause unexpected call really many many times
;; (when (autoload-eval-lazily 'gited)
;; (define-key ctl-x-map (kbd "C-g") 'gited-list))
(defalias 'gited 'gited-list)

(when (safe-require-or-eval 'git-commit)
(global-git-commit-mode 1))


Notiek ielāde…
Atcelt
Saglabāt