[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m-process-stop not bound to a keystroke anymore
- From: jidanni@xxxxxxxxxxx
- Date: Fri, 20 Feb 2009 09:26:12 +0800
- X-ml-name: emacs-w3m
- X-mail-count: 10711
- References: <b4mprhe9d1j.fsf@xxxxxxx>
It turns out my fix for
[emacs-w3m:10697] Re: terminating form input by `C-c C-c'
(dolist (modemap (list w3m-mode-map w3m-minor-mode-map))
;;;;;; (define-key modemap "\C-c" 'undefined); wrong
;;;;;; (define-key modemap "\C-c" nil); wrong
(define-key modemap [up] 'previous-line)
(define-key modemap [down] 'next-line)
(define-key modemap [left] 'backward-char)
(define-key modemap [right] 'forward-char)
(define-key modemap "b" 'w3m-view-previous-page))
ruined the other keybindings.
I don't know how to unbind a key properly.
There is no emacs unbind-key command.
So I just tried to bind C-c in the C-c map to undefined.
But that is wrong. And I don't know the right way.