Fix mouse click behavior in customize buffers (issue #15211)
This commit is contained in:
parent
902d210361
commit
8034e471b5
|
@ -116,6 +116,9 @@
|
|||
;; `scroll-up-command'. Evil `C-d' works instead.
|
||||
;; - `C-x' as a prefix command still works.
|
||||
;; - `C-c' as a prefix command still works.
|
||||
;; - Activating normal-mode makes evil override the custom-mode-map normal-state
|
||||
;; its mouse button bindings. So we bind them explicitly in normal-state
|
||||
(evil-define-key 'normal 'custom-mode-map [down-mouse-1] 'widget-button-click)
|
||||
;; - `u' as `Custom-goto-parent' conflicts with Evil undo. However it is
|
||||
;; questionable whether this will work properly in a Custom buffer;
|
||||
;; choosing to restore this binding.
|
||||
|
|
Loading…
Reference in New Issue