* scroll-all.el (scroll-all-check-to-scroll):
authorJuri Linkov <juri@jurta.org>
Tue, 11 May 2010 19:42:21 +0000 (22:42 +0300)
committerJuri Linkov <juri@jurta.org>
Tue, 11 May 2010 19:42:21 +0000 (22:42 +0300)
Add `scroll-up-command' and `scroll-down-command' (bug#6164).

lisp/ChangeLog
lisp/scroll-all.el

index 1189b7c..92edd9b 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-11  Juri Linkov  <juri@jurta.org>
+
+       * scroll-all.el (scroll-all-check-to-scroll):
+       Add `scroll-up-command' and `scroll-down-command' (bug#6164).
+
 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * iimage.el (iimage-mode-map): Move initialization into declaration.
index 458e2be..4f9747c 100644 (file)
@@ -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))