summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-07-28 21:32:48 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2013-07-28 21:32:48 +0200
commit17ba41434e451aeb3d0e9efdad65b3d21f9467d9 (patch)
tree043a66c74095eff6e9288fafd9fcdfa8ba6455ba
parent36161345d1e1a4e9ff26f6c7da11ffb19a854c44 (diff)
downloadorg-mode-17ba41434e451aeb3d0e9efdad65b3d21f9467d9.tar.gz
ox: Maintain compatibility with Emacs 23
* lisp/ox.el (org-export--dispatch-action): Maintain compatibility with Emacs 23.
-rw-r--r--lisp/ox.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ox.el b/lisp/ox.el
index 00ec010..b8bbac2 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -5921,11 +5921,11 @@ options as CDR."
(memq key '(14 16 ?\s ?\d)))
(case key
(14 (if (not (pos-visible-in-window-p (point-max)))
- (ignore-errors (scroll-up-line))
+ (ignore-errors (scroll-up 1))
(message "End of buffer")
(sit-for 1)))
(16 (if (not (pos-visible-in-window-p (point-min)))
- (ignore-errors (scroll-down-line))
+ (ignore-errors (scroll-down 1))
(message "Beginning of buffer")
(sit-for 1)))
(?\s (if (not (pos-visible-in-window-p (point-max)))