changeset 51462:ba5edb1b9c8b

(mouse-wheel-down-event, mouse-wheel-up-event): Default to new wheel-up and wheel-down events on MacOS.
author Jason Rumney <jasonr@gnu.org>
date Wed, 04 Jun 2003 21:53:00 +0000
parents 5bcd833ec510
children 26fea2099cbc
files lisp/mwheel.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mwheel.el	Wed Jun 04 21:13:41 2003 +0000
+++ b/lisp/mwheel.el	Wed Jun 04 21:53:00 2003 +0000
@@ -58,7 +58,7 @@
                         'mouse-wheel-down-event)
 (defcustom mouse-wheel-down-event
   ;; In the latest versions of XEmacs, we could just use mouse-%s as well.
-  (if (eq system-type 'windows-nt)
+  (if (memq system-type '(windows-nt macos))
       'wheel-up
     (intern (format (if (featurep 'xemacs) "button%s" "mouse-%s")
 		    mouse-wheel-down-button)))
@@ -72,7 +72,7 @@
                         'mouse-wheel-up-event)
 (defcustom mouse-wheel-up-event
   ;; In the latest versions of XEmacs, we could just use mouse-%s as well.
-  (if (eq system-type 'windows-nt)
+  (if (memq system-type '(windows-nt macos))
       'wheel-down
     (intern (format (if (featurep 'xemacs) "button%s" "mouse-%s")
 		    mouse-wheel-up-button)))