23 Mar 2012 12:10
How do I bind to xgit-diff-mode-map?
Boris Kheyfets <kheyfboris <at> gmail.com>
2012-03-23 11:10:42 GMT
2012-03-23 11:10:42 GMT
I have in my .emacs:
(require 'dvc-autoloads)
I try to bind delete-other-windows to M-1. I tried to do it:
(define-key 'xgit-diff-mode-map (kbd "M-1") 'delete-other-windows)
I got:
keymapp, xgit-diff-mode-map
I think the problem is - dvc is not loadede at start up. So I tired:
(eval-after-load "dvc-autoloads" '(define-key 'xgit-diff-mode-map (kbd "M-1") 'delete-other-windows))
No help!
(require 'dvc-autoloads)
I try to bind delete-other-windows to M-1. I tried to do it:
(define-key 'xgit-diff-mode-map (kbd "M-1") 'delete-other-windows)
I got:
keymapp, xgit-diff-mode-map
I think the problem is - dvc is not loadede at start up. So I tired:
(eval-after-load "dvc-autoloads" '(define-key 'xgit-diff-mode-map (kbd "M-1") 'delete-other-windows))
No help!
_______________________________________________ Dvc-dev mailing list Dvc-dev <at> gna.org https://mail.gna.org/listinfo/dvc-dev
RSS Feed