bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Kenjiro NAKAYAMA
Subject: bug#16143: 24.3.50; [PATCH] eww: fixed wrong key bind to eww-toggle-checkbox
Date: Sat, 14 Dec 2013 21:35:06 +0900
User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.2

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 <nakayamakenjiro@gmail.com>

        * 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]