emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] eww-mode-map doesn't bind TAB on tty.


From: Mario Lang
Subject: [PATCH] eww-mode-map doesn't bind TAB on tty.
Date: Fri, 28 Feb 2014 13:37:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi.

Just built Emacs from trunk to check out eww.
It appears that the usage of [tab] and [backtab] does not work for my
TTY Emacs.  If I replace that with (kbd "TAB") and (kbd "M-TAB")
jumping between links works as expected on TTY Emacs.

--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -412,8 +412,8 @@ word(s) will be searched for via `eww-search-prefix'."
     (suppress-keymap map)
     (define-key map "q" 'quit-window)
     (define-key map "g" 'eww-reload)
-    (define-key map [tab] 'shr-next-link)
-    (define-key map [backtab] 'shr-previous-link)
+    (define-key map (kbd "TAB") 'shr-next-link)
+    (define-key map (kbd "M-TAB") 'shr-previous-link)
     (define-key map [delete] 'scroll-down-command)
     (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map "\177" 'scroll-down-command)

-- 
CYa,
  ⡍⠁⠗⠊⠕



reply via email to

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