From 17ba41434e451aeb3d0e9efdad65b3d21f9467d9 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 28 Jul 2013 21:32:48 +0200 Subject: [PATCH] ox: Maintain compatibility with Emacs 23 * lisp/ox.el (org-export--dispatch-action): Maintain compatibility with Emacs 23. --- lisp/ox.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index 00ec010a1..b8bbac2c1 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)))