emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] org.el: Fix bindings of < and > for calendar scrolling


From: Sebastien Vauban
Subject: Re: [O] [PATCH] org.el: Fix bindings of < and > for calendar scrolling
Date: Tue, 21 Oct 2014 09:35:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt)

Marco Wahl wrote:
> Find a fix for the bindings of < and > for calendar scrolling for Emacs
> 25.  The fix is necessary because Emacs 25 dropped some aliases in the
> calendar lib, in particular those that have been bound to < and >.
>
> diff --git a/lisp/org.el b/lisp/org.el
> index 2b5603c..7f4be6b 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -16285,10 +16285,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))))

Can't you simply write                     'calendar-scroll-left ?

>      (org-defkey map "<"
>                  (lambda () (interactive)
> -                  (org-eval-in-calendar '(scroll-calendar-right 1))))
> +                  (org-eval-in-calendar '(calendar-scroll-right 1))))

Same here?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]