diff options
| author | Stefan Monnier | 2009-09-12 19:04:24 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-09-12 19:04:24 +0000 |
| commit | 9f94990d7e0535af7b5eb111e01db6e1eba7c307 (patch) | |
| tree | 45c5c8f60a7c9f0338f711a90dcfe4155c4d3ddf | |
| parent | 0a4afea9b6d3b4283611ffabeb34f1fe1a737e45 (diff) | |
| download | emacs-9f94990d7e0535af7b5eb111e01db6e1eba7c307.tar.gz emacs-9f94990d7e0535af7b5eb111e01db6e1eba7c307.zip | |
* term/x-win.el (x-initialize-window-system):
* term/w32-win.el (w32-initialize-window-system):
* term/ns-win.el (ns-initialize-window-system): Don't call
mouse-wheel-mode since it's enabled globally by default already.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/term/ns-win.el | 1 | ||||
| -rw-r--r-- | lisp/term/w32-win.el | 3 | ||||
| -rw-r--r-- | lisp/term/x-win.el | 3 |
4 files changed, 5 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e50785feea4..11787f8a7d3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * term/x-win.el (x-initialize-window-system): | ||
| 4 | * term/w32-win.el (w32-initialize-window-system): | ||
| 5 | * term/ns-win.el (ns-initialize-window-system): Don't call | ||
| 6 | mouse-wheel-mode since it's enabled globally by default already. | ||
| 7 | |||
| 3 | * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't | 8 | * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't |
| 4 | actually define the variable, but only silences the byte-compiler. | 9 | actually define the variable, but only silences the byte-compiler. |
| 5 | (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound | 10 | (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound |
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index dd40b4b32f6..17ec9306fc8 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el | |||
| @@ -1253,7 +1253,6 @@ the operating system.") | |||
| 1253 | 1253 | ||
| 1254 | ;; FIXME: This will surely lead to "MODIFIED OUTSIDE CUSTOM" warnings. | 1254 | ;; FIXME: This will surely lead to "MODIFIED OUTSIDE CUSTOM" warnings. |
| 1255 | (menu-bar-mode (if (get-lisp-resource nil "Menus") 1 -1)) | 1255 | (menu-bar-mode (if (get-lisp-resource nil "Menus") 1 -1)) |
| 1256 | (mouse-wheel-mode 1) | ||
| 1257 | 1256 | ||
| 1258 | (setq ns-initialized t)) | 1257 | (setq ns-initialized t)) |
| 1259 | 1258 | ||
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 4b8d48ce16b..28940802ab3 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el | |||
| @@ -305,9 +305,6 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") | |||
| 305 | ;; that this is only annoying. | 305 | ;; that this is only annoying. |
| 306 | (setq split-window-keep-point t) | 306 | (setq split-window-keep-point t) |
| 307 | 307 | ||
| 308 | ;; Turn on support for mouse wheels | ||
| 309 | (mouse-wheel-mode 1) | ||
| 310 | |||
| 311 | ;; W32 expects the menu bar cut and paste commands to use the clipboard. | 308 | ;; W32 expects the menu bar cut and paste commands to use the clipboard. |
| 312 | (menu-bar-enable-clipboard) | 309 | (menu-bar-enable-clipboard) |
| 313 | 310 | ||
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 17c0f3aef93..39eab12f2a7 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -1573,9 +1573,6 @@ The value nil is the same as this list: | |||
| 1573 | ;; (if (featurep 'motif) | 1573 | ;; (if (featurep 'motif) |
| 1574 | ;; (global-set-key [f10] 'ignore)) | 1574 | ;; (global-set-key [f10] 'ignore)) |
| 1575 | 1575 | ||
| 1576 | ;; Turn on support for mouse wheels. | ||
| 1577 | (mouse-wheel-mode 1) | ||
| 1578 | |||
| 1579 | ;; Enable CLIPBOARD copy/paste through menu bar commands. | 1576 | ;; Enable CLIPBOARD copy/paste through menu bar commands. |
| 1580 | (menu-bar-enable-clipboard) | 1577 | (menu-bar-enable-clipboard) |
| 1581 | 1578 | ||