bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9387: [PATCH] new standard keybindings for recentf-dialog


From: Florian Adamsky
Subject: bug#9387: [PATCH] new standard keybindings for recentf-dialog
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 (florian@adamsky.it)

       * 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.")

Attachment: recentf.el.diff
Description: Text Data


reply via email to

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