Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3bd7d448
Commit
3bd7d448
authored
Feb 25, 2002
by
Jason Rumney
Browse files
(mouse-wheel-scroll-amount): Use same definition as
mwheel.el.
parent
744de246
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/w32-vars.el
lisp/w32-vars.el
+22
-4
No files found.
lisp/ChangeLog
View file @
3bd7d448
2002-02-25 Jason Rumney <jasonr@gnu.org>
* w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
mwheel.el.
* language/japanese.el (iso-2022-jp-2): Add init-bol flag.
2002-02-25 Andre Spiegel <spiegel@gnu.org>
...
...
lisp/w32-vars.el
View file @
3bd7d448
...
...
@@ -31,10 +31,28 @@
:version
"21.3"
:prefix
"w32"
)
(
defcustom
mouse-wheel-scroll-amount
4
"*Number of lines to scroll per click of the mouse wheel."
:type
'integer
:group
'w32
)
;; mwheel.el should probably be adapted to accept mouse-wheel events
;; then this could go.
(
defcustom
mouse-wheel-scroll-amount
'
(
5
((
shift
)
.
1
)
((
control
)
.
nil
))
"*Amount to scroll windows by when spinning the mouse wheel.
This is actually a cons cell, where the first item is the amount to scroll
on a normal wheel event. The rest is ignored on Windows, see mwheel.el if
you wish to implement modifier keys."
:group
'w32
:group
'mouse
:type
'
(
cons
(
choice
:tag
"Normal"
(
const
:tag
"Full screen"
:value
nil
)
(
integer
:tag
"Specific # of lines"
)
(
float
:tag
"Fraction of window"
))
(
repeat
(
cons
(
repeat
(
choice
:tag
"modifier"
(
const
alt
)
(
const
control
)
(
const
hyper
)
(
const
meta
)
(
const
shift
)
(
const
super
)))
(
choice
:tag
"scroll amount"
(
const
:tag
"Full screen"
:value
nil
)
(
integer
:tag
"Specific # of lines"
)
(
float
:tag
"Fraction of window"
))))))
;; Redefine the font selection to use the standard W32 dialog
(
defcustom
w32-use-w32-font-dialog
t
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment