changeset 53578:5892f55e034e

(mouse-wheel-down-event, mouse-wheel-up-event): Test window-system rather than system-type (for X11/Mac).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 14 Jan 2004 14:22:17 +0000
parents 912fde7966e0
children 862b91168878
files lisp/mwheel.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mwheel.el	Wed Jan 14 14:20:45 2004 +0000
+++ b/lisp/mwheel.el	Wed Jan 14 14:22:17 2004 +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 darwin))
+  (if (memq window-system '(w32 mac))
       '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 darwin))
+  (if (memq window-system '(w32 mac))
       'wheel-down
     (intern (format (if (featurep 'xemacs) "button%s" "mouse-%s")
 		    mouse-wheel-up-button)))