diff options
| author | Lars Ingebrigtsen | 2014-03-05 19:44:58 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2014-03-05 19:44:58 +0100 |
| commit | 6952100dc3abfd9df124ca45d924a18b654d2de3 (patch) | |
| tree | 04089f30da7d8ead3eeb696c0d7118f7d5848f6e | |
| parent | dffe37a8b1a16cea303237f7942212c2b32ed461 (diff) | |
| download | emacs-6952100dc3abfd9df124ca45d924a18b654d2de3.tar.gz emacs-6952100dc3abfd9df124ca45d924a18b654d2de3.zip | |
(eww-textarea-map): [tab] doesn't work on tty.
Reported by Mario Lang.
* net/shr.el (shr-map): Ditto.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/net/eww.el | 8 | ||||
| -rw-r--r-- | lisp/net/shr.el | 4 |
3 files changed, 10 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7ee1f2f21ec..73ced85d796 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -18,6 +18,10 @@ | |||
| 18 | 18 | ||
| 19 | * net/eww.el (eww-mode-map): [tab] doesn't work on tty. | 19 | * net/eww.el (eww-mode-map): [tab] doesn't work on tty. |
| 20 | (eww-setup-buffer): Clear next/prev/etc more reliably. | 20 | (eww-setup-buffer): Clear next/prev/etc more reliably. |
| 21 | (eww-textarea-map): [tab] doesn't work on tty. Reported by Mario | ||
| 22 | Lang. | ||
| 23 | |||
| 24 | * net/shr.el (shr-map): Ditto. | ||
| 21 | 25 | ||
| 22 | 2014-03-04 Glenn Morris <rgm@gnu.org> | 26 | 2014-03-04 Glenn Morris <rgm@gnu.org> |
| 23 | 27 | ||
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 4d5fc4a80e0..e8eb09c9a8e 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el | |||
| @@ -592,8 +592,8 @@ appears in a <link> or <a> tag." | |||
| 592 | (define-key map [(control a)] 'eww-beginning-of-text) | 592 | (define-key map [(control a)] 'eww-beginning-of-text) |
| 593 | (define-key map [(control c) (control c)] 'eww-submit) | 593 | (define-key map [(control c) (control c)] 'eww-submit) |
| 594 | (define-key map [(control e)] 'eww-end-of-text) | 594 | (define-key map [(control e)] 'eww-end-of-text) |
| 595 | (define-key map [tab] 'shr-next-link) | 595 | (define-key map [?\t] 'shr-next-link) |
| 596 | (define-key map [backtab] 'shr-previous-link) | 596 | (define-key map [?\M-\t] 'shr-previous-link) |
| 597 | map)) | 597 | map)) |
| 598 | 598 | ||
| 599 | (defvar eww-textarea-map | 599 | (defvar eww-textarea-map |
| @@ -601,8 +601,8 @@ appears in a <link> or <a> tag." | |||
| 601 | (set-keymap-parent map text-mode-map) | 601 | (set-keymap-parent map text-mode-map) |
| 602 | (define-key map "\r" 'forward-line) | 602 | (define-key map "\r" 'forward-line) |
| 603 | (define-key map [(control c) (control c)] 'eww-submit) | 603 | (define-key map [(control c) (control c)] 'eww-submit) |
| 604 | (define-key map [tab] 'shr-next-link) | 604 | (define-key map [?\t] 'shr-next-link) |
| 605 | (define-key map [backtab] 'shr-previous-link) | 605 | (define-key map [?\M-\t] 'shr-previous-link) |
| 606 | map)) | 606 | map)) |
| 607 | 607 | ||
| 608 | (defvar eww-select-map | 608 | (defvar eww-select-map |
diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 4801aca2fcc..8b68b6f4bc7 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el | |||
| @@ -147,8 +147,8 @@ cid: URL as the argument.") | |||
| 147 | (define-key map "a" 'shr-show-alt-text) | 147 | (define-key map "a" 'shr-show-alt-text) |
| 148 | (define-key map "i" 'shr-browse-image) | 148 | (define-key map "i" 'shr-browse-image) |
| 149 | (define-key map "z" 'shr-zoom-image) | 149 | (define-key map "z" 'shr-zoom-image) |
| 150 | (define-key map [tab] 'shr-next-link) | 150 | (define-key map [?\t] 'shr-next-link) |
| 151 | (define-key map [backtab] 'shr-previous-link) | 151 | (define-key map [?\M-\t] 'shr-previous-link) |
| 152 | (define-key map [follow-link] 'mouse-face) | 152 | (define-key map [follow-link] 'mouse-face) |
| 153 | (define-key map [mouse-2] 'shr-browse-url) | 153 | (define-key map [mouse-2] 'shr-browse-url) |
| 154 | (define-key map "I" 'shr-insert-image) | 154 | (define-key map "I" 'shr-insert-image) |