Subject: bug#16143: 24.3.50; [PATCH] eww: fixed wrong key bind to eww-toggle-checkbox

From: Kenjiro NAKAYAMA <[email-masked]>
Date: Sat, 14 Dec 2013 21:35:06 +0900

Keybind of the toggle-checkbox with space key is wrong.
I am sorry If I'm wrong. The key bind [space] can not work in my
environment.

Signed-off-by: Kenjiro NAKAYAMA <[email-masked]>

        * net/eww.el (eww-checkbox-map): fixed wrong key bind to eww-toggle-checkbox

---
 lisp/net/eww.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 34c6728..a6447f2 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -563,7 +563,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))
-- 
1.8.3.1