浏览代码

Remove gited-list keybind and instead add gited alias

master
10sr 5 年前
父节点
当前提交
1430521426
签署人:: 10sr GPG 密钥 ID: C384BB17CBB19347
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      emacs.el

+ 4
- 2
emacs.el 查看文件

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


正在加载...
取消
保存