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
f5b92c89
Commit
f5b92c89
authored
Feb 25, 2002
by
Miles Bader
Browse files
(mouse-wheel-mode): Pass vectors instead of symbols
to `define-key', since it no longer accepts the latter.
parent
ed81ee80
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/mwheel.el
lisp/mwheel.el
+1
-1
No files found.
lisp/ChangeLog
View file @
f5b92c89
2002-02-26 Miles Bader <miles@gnu.org>
* mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
to `define-key', since it no longer accepts the latter.
2002-02-25 Jason Rumney <jasonr@gnu.org>
* term/w32-win.el (mouse-wheel-scroll-line): Use car of
...
...
lisp/mwheel.el
View file @
f5b92c89
...
...
@@ -154,7 +154,7 @@ Returns non-nil if the new state is enabled."
(
dn
(
intern
(
format
prefix
mouse-wheel-down-button
)))
(
up
(
intern
(
format
prefix
mouse-wheel-up-button
)))
(
keys
(
nconc
(
list
dn
up
)
(
nconc
(
list
(
vector
dn
)
(
vector
up
)
)
(
mapcar
(
lambda
(
amt
)
`
[
(
,@
(
car
amt
)
,
up
)
]
)
(
cdr
mouse-wheel-scroll-amount
))
(
mapcar
(
lambda
(
amt
)
`
[
(
,@
(
car
amt
)
,
dn
)
]
)
...
...
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