1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Two new recentf.el keybindings

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

Fixes: debbugs:9387
This commit is contained in:
Florian Adamsky 2012-04-10 04:45:10 +02:00 committed by Lars Magne Ingebrigtsen
parent bc72b5d984
commit 6c3eab3008
2 changed files with 8 additions and 0 deletions

View file

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