Function: mouse-wheel--add-binding

mouse-wheel--add-binding is a byte-compiled function defined in mwheel.el.gz.

Signature

(mouse-wheel--add-binding KEY FUN)

Documentation

Bind mouse wheel button KEY to function FUN.

Save it for later removal by mouse-wheel--remove-bindings.

Source Code

;; Defined in /usr/src/emacs/lisp/mwheel.el.gz
(defun mouse-wheel--add-binding (key fun)
  "Bind mouse wheel button KEY to function FUN.
Save it for later removal by `mouse-wheel--remove-bindings'."
  (global-set-key key fun)
  (push (cons key fun) mouse-wheel--installed-bindings-alist))