Subject: [PATCH] new standard keybindings for recentf-dialog

From: Florian Adamsky <[email-masked]>
Date: Sat, 27 Aug 2011 21:35:21 +0200

** Description

I added two new keybindings to recentf-dialog for next-line (kbd "n")
and previous-line (kbd "p") in order to make it more consistent with
other major-modes like dired, ibuffer or org-mode.

** ChangeLog

2011-09-27 Florian Adamsky ([email-masked])

       * recentf.el (recentf-dialog-mode-map): Added two keybindings
         for next-line "n" and previous-line "p" in order to make
         recentf more consistent with ibuffer, dired or org-mode.

** The patch itself

index fc9b788..01efecf 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -1061,6 +1061,8 @@ Go to the beginning of buffer if not found."
   (let ((km (copy-keymap recentf--shortcuts-keymap)))
     (set-keymap-parent km widget-keymap)
     (define-key km "q" 'recentf-cancel-dialog)
+    (define-key km "n" 'next-line)
+    (define-key km "p" 'previous-line)
     (define-key km [follow-link] "\C-m")
     km)
   "Keymap used in recentf dialogs.")
diff --git a/lisp/recentf.el b/lisp/recentf.el
index fc9b788..01efecf 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -1061,6 +1061,8 @@ Go to the beginning of buffer if not found."
   (let ((km (copy-keymap recentf--shortcuts-keymap)))
     (set-keymap-parent km widget-keymap)
     (define-key km "q" 'recentf-cancel-dialog)
+    (define-key km "n" 'next-line)
+    (define-key km "p" 'previous-line)
     (define-key km [follow-link] "\C-m")
     km)
   "Keymap used in recentf dialogs.")