From 1430521426f24d60e8638c70e6ea386d333a782b Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 13 Jun 2019 22:22:44 +0900 Subject: [PATCH] Remove gited-list keybind and instead add gited alias --- emacs.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index bdf1ab0..4396f9c 100644 --- a/emacs.el +++ b/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))