]> git.eshelyaron.com Git - emacs.git/commitdiff
Add "next" and "previous" shortcuts in eww-history buffers
authorRaimon Grau <raimonster@gmail.com>
Sun, 13 Oct 2019 02:26:39 +0000 (04:26 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Oct 2019 02:26:39 +0000 (04:26 +0200)
* lisp/net/eww.el (eww-history-mode-map): Add "n" and "p" for
"next-line" and "previous-line" (bug#37648).

lisp/net/eww.el

index 0756c6088bcc60902ecac62c97dc3601f3b0a52f..f5dedd52b2ebcd5420fb2bd3767f27a6128282b6 100644 (file)
@@ -1919,8 +1919,8 @@ If CHARSET is nil then use UTF-8."
 (defvar eww-history-mode-map
   (let ((map (make-sparse-keymap)))
     (define-key map "\r" 'eww-history-browse)
-;;    (define-key map "n" 'next-error-no-select)
-;;    (define-key map "p" 'previous-error-no-select)
+    (define-key map "n" 'next-line)
+    (define-key map "p" 'previous-line)
 
     (easy-menu-define nil map
       "Menu for `eww-history-mode-map'."