[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: w3m-process-stop not bound to a keystroke anymore

>>>>> In [emacs-w3m : No.10711] jidanni@xxxxxxxxxxx wrote:

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

You may want:
(define-key modemap "\C-c\C-c" 'undefined)

That's an impossible proposition if you wish to void `C-c' but
to use `C-c C-k'.