Browse Source

ox: Maintain compatibility with Emacs 23

* lisp/ox.el (org-export--dispatch-action): Maintain compatibility
  with Emacs 23.
Nicolas Goaziou 11 years ago
parent
commit
17ba41434e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lisp/ox.el

+ 2 - 2
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)))