mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(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.
This commit is contained in:
parent
5372262fdc
commit
0c8f875908
@ -781,6 +781,7 @@ ring is empty L is left unchanged."
|
|||||||
()
|
()
|
||||||
(setq recentf-dialog-mode-map (make-sparse-keymap))
|
(setq recentf-dialog-mode-map (make-sparse-keymap))
|
||||||
(define-key recentf-dialog-mode-map "q" 'recentf-cancel-dialog)
|
(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))
|
(set-keymap-parent recentf-dialog-mode-map widget-keymap))
|
||||||
|
|
||||||
(defun recentf-dialog-mode ()
|
(defun recentf-dialog-mode ()
|
||||||
|
Loading…
Reference in New Issue
Block a user