summaryrefslogtreecommitdiff
path: root/lisp/scroll-all.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2010-05-11 22:42:21 +0300
committerJuri Linkov <juri@jurta.org>2010-05-11 22:42:21 +0300
commit841c4085a8087b8c5bc138d5129f7e07f3e18f5f (patch)
tree226c292b91789088ba1979179a83a466f2e7dc4c /lisp/scroll-all.el
parentf2b9ed185adcd8e49934ebaa9247cac49dcc0d1b (diff)
downloademacs-841c4085a8087b8c5bc138d5129f7e07f3e18f5f.tar.gz
* scroll-all.el (scroll-all-check-to-scroll):
Add `scroll-up-command' and `scroll-down-command' (bug#6164).
Diffstat (limited to 'lisp/scroll-all.el')
-rw-r--r--lisp/scroll-all.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/scroll-all.el b/lisp/scroll-all.el
index 458e2be07a1..4f9747cb90a 100644
--- a/lisp/scroll-all.el
+++ b/lisp/scroll-all.el
@@ -90,9 +90,9 @@
(call-interactively 'scroll-all-scroll-down-all))
((eq this-command 'previous-line)
(call-interactively 'scroll-all-scroll-up-all))
- ((eq this-command 'scroll-up)
+ ((memq this-command '(scroll-up scroll-up-command))
(call-interactively 'scroll-all-page-down-all))
- ((eq this-command 'scroll-down)
+ ((memq this-command '(scroll-down scroll-down-command))
(call-interactively 'scroll-all-page-up-all))
((eq this-command 'beginning-of-buffer)
(call-interactively 'scroll-all-beginning-of-buffer-all))