changeset 51522:9dde64573e67

(mouse-wheel-up-event, mouse-wheel-down-event): Use wheel-* events on darwin.
author Jason Rumney <jasonr@gnu.org>
date Sat, 07 Jun 2003 00:24:41 +0000
parents 0fa152ebcaf3
children 00fdc9cef470
files lisp/mwheel.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mwheel.el	Sat Jun 07 00:24:22 2003 +0000
+++ b/lisp/mwheel.el	Sat Jun 07 00:24:41 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 (memq system-type '(windows-nt macos))
+  (if (memq system-type '(windows-nt macos darwin))
       '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 (memq system-type '(windows-nt macos))
+  (if (memq system-type '(windows-nt macos darwin))
       'wheel-down
     (intern (format (if (featurep 'xemacs) "button%s" "mouse-%s")
 		    mouse-wheel-up-button)))