|
@@ -6904,23 +6904,7 @@ options as CDR."
|
|
|
(while (and (setq key (read-char-exclusive prompt))
|
|
|
(not expertp)
|
|
|
(memq key '(14 16 ?\s ?\d)))
|
|
|
- (cl-case key
|
|
|
- (14 (if (not (pos-visible-in-window-p (point-max)))
|
|
|
- (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 1))
|
|
|
- (message "Beginning of buffer")
|
|
|
- (sit-for 1)))
|
|
|
- (?\s (if (not (pos-visible-in-window-p (point-max)))
|
|
|
- (scroll-up nil)
|
|
|
- (message "End of buffer")
|
|
|
- (sit-for 1)))
|
|
|
- (?\d (if (not (pos-visible-in-window-p (point-min)))
|
|
|
- (scroll-down nil)
|
|
|
- (message "Beginning of buffer")
|
|
|
- (sit-for 1)))))
|
|
|
+ (org-scroll key))
|
|
|
(cond
|
|
|
;; Ignore undefined associations.
|
|
|
((not (memq key allowed-keys))
|