eww: fix wrong key binding

* net/eww.el (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
This commit is contained in:
Kenjiro NAKAYAMA 2013-12-21 15:50:02 -05:00 committed by Ted Zlatanov
parent 5edcc2dc14
commit dde4de31e0
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@
functions to list browser histories.
(eww-form-text): Support text form with disabled
and readonly attributes.
(eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>

View file

@ -565,7 +565,7 @@ appears in a <link> or <a> tag."
(defvar eww-checkbox-map
(let ((map (make-sparse-keymap)))
(define-key map [space] 'eww-toggle-checkbox)
(define-key map " " 'eww-toggle-checkbox)
(define-key map "\r" 'eww-toggle-checkbox)
(define-key map [(control c) (control c)] 'eww-submit)
map))