diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2015-08-14 14:47:29 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2015-08-14 14:47:29 +0200 |
| commit | f76a7d96001cb18d932e78fc734669f29a37e6b5 (patch) | |
| tree | 5ff3422976e3ddda1942f7a3185004e36723626c /lisp | |
| parent | d247e0a37104ae8ff01018e6683421729d61205c (diff) | |
ido-enter-magit-status: fix doc-string and manual entry
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/magit.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/magit.el b/lisp/magit.el index 8ddf49c..e6c165d 100644 --- a/lisp/magit.el +++ b/lisp/magit.el @@ -425,7 +425,14 @@ To make this command available use something like: (add-hook 'ido-setup-hook (lambda () (define-key ido-completion-map - (kbd \"C-x g\") 'ido-enter-magit-status)))" + (kbd \"C-x g\") 'ido-enter-magit-status))) + +Starting with Emacs 25.1 that keymap is defined just once +instead of every time Ido is invoked, so now you can modify +it like pretty much every other keymap: + + (define-key ido-common-completion-map + (kbd \"C-x g\") 'ido-enter-magit-status)" (interactive) (with-no-warnings ; FIXME these are internal variables (setq ido-exit 'fallback fallback 'magit-status)) |
