Mercurial > emacs
annotate .arch-inventory @ 106241:7ce04dfc904d
Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
* mwheel.el (mwheel-scroll-up-function)
(mwheel-scroll-down-function): New defvars.
(mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
`scroll-up', and `mwheel-scroll-down-function' instead of
`scroll-down'.
* doc-view.el (doc-view-scroll-up-or-next-page)
(doc-view-scroll-down-or-previous-page): Add optional ARG.
Use this ARG in the call to image-scroll-up/image-scroll-down.
Change `interactive' spec to "P". Goto next/previous page only
when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
SPC/DEL case). Doc fix.
(doc-view-next-line-or-next-page)
(doc-view-previous-line-or-previous-page): Rename arg to ARG
for consistency.
(doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
`doc-view-scroll-up-or-next-page', and buffer-local
`mwheel-scroll-down-function' to
`doc-view-scroll-down-or-previous-page'.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Wed, 25 Nov 2009 17:18:26 +0000 |
parents | 7cb1d5f71446 |
children |
rev | line source |
---|---|
56043
a0fc4f10d0cf
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-401
Miles Bader <miles@gnu.org>
parents:
56026
diff
changeset
|
1 # Generated files |
a0fc4f10d0cf
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-401
Miles Bader <miles@gnu.org>
parents:
56026
diff
changeset
|
2 precious ^(config\.status|config\.cache)$ |
55782
3c8e35fb94bb
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-345
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
3 |
56026
bb6720f21c54
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Miles Bader <miles@gnu.org>
parents:
55782
diff
changeset
|
4 # Install-in-place makes these directories, so just ignore them |
bb6720f21c54
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Miles Bader <miles@gnu.org>
parents:
55782
diff
changeset
|
5 backup ^(bin|data|lock|site-lisp)$ |
bb6720f21c54
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Miles Bader <miles@gnu.org>
parents:
55782
diff
changeset
|
6 |
55782
3c8e35fb94bb
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-345
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
7 # arch-tag: 6eeeaa4e-cc7e-4b22-b3d7-1089e155da14 |