emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: mouse wheel events - why an extra <nil>?


From: Drew Adams
Subject: RE: mouse wheel events - why an extra <nil>?
Date: Wed, 6 Oct 2010 14:25:04 -0700

> (defcustom foo-keys (list [nil (control wheel-up)] ; A
>                           [(control wheel-up)])    ; B
>   "..." :type '(repeat sexp))

Sorry, I should have used the variables instead of constants, so you can try it
on non-Windows as well:

(defcustom foo-keys
  (list (vector nil (list 'control mouse-wheel-down-event))  ; A
        (vector (list 'control mouse-wheel-down-event))) ; B
  "..." :type '(repeat sexp))

(See the previous mail for the rest.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]