branch: scratch/rfc-mode
commit e037a7ce5c8034cc023e69296368405bfe2bba19
Author: Daniel Martín <mardan...@yahoo.es>
Commit: Daniel Martín <mardan...@yahoo.es>

    Add Tab and S-Tab to navigate through RFC button links
---
 rfc-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rfc-mode.el b/rfc-mode.el
index 96641116f6..616f0bb6df 100644
--- a/rfc-mode.el
+++ b/rfc-mode.el
@@ -100,6 +100,8 @@ Assume RFC documents are named as e.g. rfc21.txt, 
rfc-index.txt."
   (let ((map (make-keymap)))
     (set-keymap-parent map special-mode-map)
     (define-key map (kbd "q") 'rfc-mode-quit)
+    (define-key map (kbd "<tab>") 'forward-button)
+    (define-key map (kbd "S-<tab>") 'backward-button)
     (define-key map (kbd "<prior>") 'rfc-mode-backward-page)
     (define-key map (kbd "<next>") 'rfc-mode-forward-page)
     (define-key map (kbd "n") 'rfc-mode-next-section)

Reply via email to