From: Gerd Moellmann Date: Mon, 14 Aug 2000 12:43:13 +0000 (+0000) Subject: (recent-dialog-mode-map): Bind down-mouse-1 to X-Git-Tag: emacs-pretest-21.0.90~2335 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0c8f8759089d7dda2470cfd85c2e285527c7e2cb;p=emacs.git (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. --- 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 ()