emacs-orgmode
[Top][All Lists]
Advanced

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

Re: logrepeat only logging LAST_REPEAT


From: Ihor Radchenko
Subject: Re: logrepeat only logging LAST_REPEAT
Date: Wed, 20 Jan 2021 23:23:22 +0800

Michael Heerdegen <michael_heerdegen@web.de> writes:

> As far as I understand, the logging is implemented in
> `org-auto-repeat-maybe', and the thing I do not want is caused by the
> `org-add-log-setup' call, and that is done unconditionally unless
> `org-log-repeat's value is nil.  Which I don't want because this would
> also disable the "LAST_REPEAT" property setting.

You are right. Since this is hard-coded, you may have to use :around
advice to disable org-log-setup:

(cl-letf (((symbol-function org-log-setup) (lambda (&rest _) nil))) <call 
org-auto-repeat-maybe>)

Best,
Ihor



reply via email to

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