]> git.eshelyaron.com Git - emacs.git/commit
lisp/mouse.el: Fix some lambdas quoted with ` or '
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 8 Dec 2021 21:14:03 +0000 (16:14 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 8 Dec 2021 21:14:03 +0000 (16:14 -0500)
commitaa3434369e0b9aeb15e5802a5e2cee598e6c01e2
tree55fd81c1b06424b413cf13258def55ca2b7966fd
parent00d107ebead8d710cbe339d9af717e6eb2f9f2ff
lisp/mouse.el: Fix some lambdas quoted with ` or '

Also prefer #' to quote named functions.

* lisp/mouse.el (minor-mode-menu-from-indicator, context-menu-entry)
([C-down-mouse-3]): Don't abuse lambda lists for functions.
(context-menu-mode): Remove redundant `:group`.
(mouse-drag-line): Remove unused var `draggable`.
(mouse-yank-primary): Make it work for non-mouse events.
lisp/mouse.el