|
From: | Nicolas Richard |
Subject: | Re: Error "Key sequence starts with non-prefix key" |
Date: | Wed, 04 Jun 2014 14:13:09 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) |
Thorsten Jolitz <tjolitz@gmail.com> writes: > (let ((map (lookup-key outline-minor-mode-map outline-minor-mode-prefix))) > (define-key map "\C-a" 'show-all) > (define-key map "\C-\M-l" 'outshine-insert-all-links) > (define-key map (kbd "C-v C-a") 'outshine-babel-sha1-hash) [...] > I get an error because of the last line (no matter if I use the `kdb' > macro or just write "\C-v\C-a"): It means C-v is already defined. Just undefine it before you try to make it into a prefix: (define-key map (kbd "C-v") nil) -- Nico.
[Prev in Thread] | Current Thread | [Next in Thread] |