From 0c8f8759089d7dda2470cfd85c2e285527c7e2cb Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 14 Aug 2000 12:43:13 +0000 Subject: [PATCH] (recent-dialog-mode-map): Bind down-mouse-1 to `widget-button-click'. so that one can use left mouse button to click on dialog buttons. --- lisp/recentf.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/recentf.el b/lisp/recentf.el index 82357dbe0b5..ab063353fed 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -781,6 +781,7 @@ ring is empty L is left unchanged." () (setq recentf-dialog-mode-map (make-sparse-keymap)) (define-key recentf-dialog-mode-map "q" 'recentf-cancel-dialog) + (define-key recentf-dialog-mode-map [down-mouse-1] 'widget-button-click) (set-keymap-parent recentf-dialog-mode-map widget-keymap)) (defun recentf-dialog-mode () -- 2.39.2