diff options
| author | Jason Rumney | 2002-02-25 23:21:01 +0000 |
|---|---|---|
| committer | Jason Rumney | 2002-02-25 23:21:01 +0000 |
| commit | 3bd7d448e99e7667de44a347154dd8afba8c7703 (patch) | |
| tree | 34711d10373874e5bd3a763803deb4c9da870760 | |
| parent | 744de246b56034e5d311e1247709df05b47a0539 (diff) | |
| download | emacs-3bd7d448e99e7667de44a347154dd8afba8c7703.tar.gz emacs-3bd7d448e99e7667de44a347154dd8afba8c7703.zip | |
(mouse-wheel-scroll-amount): Use same definition as
mwheel.el.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/w32-vars.el | 26 |
2 files changed, 25 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fa5ea080834..5d5dd768650 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2002-02-25 Jason Rumney <jasonr@gnu.org> | 1 | 2002-02-25 Jason Rumney <jasonr@gnu.org> |
| 2 | 2 | ||
| 3 | * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as | ||
| 4 | mwheel.el. | ||
| 5 | |||
| 3 | * language/japanese.el (iso-2022-jp-2): Add init-bol flag. | 6 | * language/japanese.el (iso-2022-jp-2): Add init-bol flag. |
| 4 | 7 | ||
| 5 | 2002-02-25 Andre Spiegel <spiegel@gnu.org> | 8 | 2002-02-25 Andre Spiegel <spiegel@gnu.org> |
diff --git a/lisp/w32-vars.el b/lisp/w32-vars.el index 13fbb4a2810..dc318783030 100644 --- a/lisp/w32-vars.el +++ b/lisp/w32-vars.el | |||
| @@ -31,10 +31,28 @@ | |||
| 31 | :version "21.3" | 31 | :version "21.3" |
| 32 | :prefix "w32") | 32 | :prefix "w32") |
| 33 | 33 | ||
| 34 | (defcustom mouse-wheel-scroll-amount 4 | 34 | ;; mwheel.el should probably be adapted to accept mouse-wheel events |
| 35 | "*Number of lines to scroll per click of the mouse wheel." | 35 | ;; then this could go. |
| 36 | :type 'integer | 36 | (defcustom mouse-wheel-scroll-amount '(5 ((shift) . 1) ((control) . nil)) |
| 37 | :group 'w32) | 37 | "*Amount to scroll windows by when spinning the mouse wheel. |
| 38 | This is actually a cons cell, where the first item is the amount to scroll | ||
| 39 | on a normal wheel event. The rest is ignored on Windows, see mwheel.el if | ||
| 40 | you wish to implement modifier keys." | ||
| 41 | :group 'w32 | ||
| 42 | :group 'mouse | ||
| 43 | :type '(cons | ||
| 44 | (choice :tag "Normal" | ||
| 45 | (const :tag "Full screen" :value nil) | ||
| 46 | (integer :tag "Specific # of lines") | ||
| 47 | (float :tag "Fraction of window")) | ||
| 48 | (repeat | ||
| 49 | (cons | ||
| 50 | (repeat (choice :tag "modifier" (const alt) (const control) (const hyper) | ||
| 51 | (const meta) (const shift) (const super))) | ||
| 52 | (choice :tag "scroll amount" | ||
| 53 | (const :tag "Full screen" :value nil) | ||
| 54 | (integer :tag "Specific # of lines") | ||
| 55 | (float :tag "Fraction of window")))))) | ||
| 38 | 56 | ||
| 39 | ;; Redefine the font selection to use the standard W32 dialog | 57 | ;; Redefine the font selection to use the standard W32 dialog |
| 40 | (defcustom w32-use-w32-font-dialog t | 58 | (defcustom w32-use-w32-font-dialog t |