Boris Kheyfets <[email protected]> writes:

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

I think that quoting xgit-diff-mode-map is the problem. Try the following:

(define-key xgit-diff-mode-map (kbd "M-1") 'delete-other-windows)


Stefan.

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to