(mouse-wheel-down-event, mouse-wheel-up-event):
Test window-system rather than system-type (for X11/Mac).
This commit is contained in:
parent
074eb6acbe
commit
cf062f6b5f
1 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue