]> code.delx.au - gnu-emacs/commitdiff
org.el: Fix bindings of < and > for calendar scrolling
authorMarco Wahl <marcowahlsoft@gmail.com>
Wed, 8 Jun 2016 23:03:34 +0000 (16:03 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Jun 2016 23:04:12 +0000 (16:04 -0700)
[This patch taken from upstream Org repo with 8b63dc9 dated
2014-10-20 (Bug#23725).]
* lisp/org/org.el (org-read-date-minibuffer-local-map):
Switch to the current calendar API for scrolling the calendar.

lisp/org/org.el

index 61bcb451d70af10cc3ccc25835d825df5706a9d9..13e4a22213181c7e117c9197a2dc5c38c568e712 100644 (file)
@@ -16296,10 +16296,10 @@ So these are more for recording a certain time/date."
                   (message "")))
     (org-defkey map ">"
                 (lambda () (interactive)
-                  (org-eval-in-calendar '(scroll-calendar-left 1))))
+                  (org-eval-in-calendar '(calendar-scroll-left 1))))
     (org-defkey map "<"
                 (lambda () (interactive)
-                  (org-eval-in-calendar '(scroll-calendar-right 1))))
+                  (org-eval-in-calendar '(calendar-scroll-right 1))))
     (org-defkey map "\C-v"
                 (lambda () (interactive)
                   (org-eval-in-calendar