]> git.eshelyaron.com Git - emacs.git/commitdiff
(recent-dialog-mode-map): Bind down-mouse-1 to
authorGerd Moellmann <gerd@gnu.org>
Mon, 14 Aug 2000 12:43:13 +0000 (12:43 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 14 Aug 2000 12:43:13 +0000 (12:43 +0000)
`widget-button-click'. so that one can use left mouse button to
click on dialog buttons.

lisp/recentf.el

index 82357dbe0b5688c14db68e417129a2500f40df75..ab063353fedd5fb359c6418277dd47f5c25f1ebe 100644 (file)
@@ -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 ()