diff options
| author | Jason Rumney | 2003-06-01 22:13:07 +0000 |
|---|---|---|
| committer | Jason Rumney | 2003-06-01 22:13:07 +0000 |
| commit | 230c8ad7bfef2596c5c4ccec59895f29c89a7407 (patch) | |
| tree | 9621be0882187d9f9ee6b4ea75ce968f2b2de906 | |
| parent | 87d386ff8aa5e10f7b7f84fb89fc07cbdc203c69 (diff) | |
| download | emacs-230c8ad7bfef2596c5c4ccec59895f29c89a7407.tar.gz emacs-230c8ad7bfef2596c5c4ccec59895f29c89a7407.zip | |
No need to bind wheel events specially.
| -rw-r--r-- | lisp/term/w32-win.el | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 923f3f5ea14..27f72f94129 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el | |||
| @@ -84,13 +84,7 @@ | |||
| 84 | ;(defun w32-handle-scroll-bar-event (event) (interactive "e") (princ event)) | 84 | ;(defun w32-handle-scroll-bar-event (event) (interactive "e") (princ event)) |
| 85 | 85 | ||
| 86 | ;; Handle mouse-wheel events with mwheel. | 86 | ;; Handle mouse-wheel events with mwheel. |
| 87 | ;; Normally only mouse-wheel-mode and mwheel-install are autoloaded, | 87 | (mouse-wheel-mode 1) |
| 88 | ;; but binding mouse-wheel must be done directly, since those functions | ||
| 89 | ;; do not recognize mouse-wheel as a valid button. | ||
| 90 | (autoload 'mwheel-scroll "mwheel") | ||
| 91 | (global-set-key [mouse-wheel] 'mwheel-scroll) | ||
| 92 | (global-set-key [C-mouse-wheel] 'mwheel-scroll) | ||
| 93 | (global-set-key [S-mouse-wheel] 'mwheel-scroll) | ||
| 94 | 88 | ||
| 95 | (defun w32-drag-n-drop-debug (event) | 89 | (defun w32-drag-n-drop-debug (event) |
| 96 | "Print the drag-n-drop EVENT in a readable form." | 90 | "Print the drag-n-drop EVENT in a readable form." |