changeset 30778:293a86f4d8aa

(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.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 14 Aug 2000 12:43:13 +0000
parents 3e4912d77e89
children aa097d8d4f1a
files lisp/recentf.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/recentf.el	Mon Aug 14 10:52:50 2000 +0000
+++ b/lisp/recentf.el	Mon Aug 14 12:43:13 2000 +0000
@@ -781,6 +781,7 @@
     ()
   (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 ()