branch: externals/org-notify commit 704e023ad85406fd52b2a4706564c9ad433692ab Author: Peter Münster <p...@a16n.net> Commit: Peter Münster <p...@a16n.net>
Simplify call to time-add in org-notify-body-text --- org-notify.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org-notify.el b/org-notify.el index 141c15bf22..2e93820e9a 100644 --- a/org-notify.el +++ b/org-notify.el @@ -317,8 +317,7 @@ seconds. The default value for SECS is 20." (replace-regexp-in-string " in the future" "" (article-lapsed-string - (time-add (current-time) - (seconds-to-time (plist-get plist :deadline))) 2)) + (time-add nil (seconds-to-time (plist-get plist :deadline))) 2)) (plist-get plist :timestamp))) (defun org-notify-action-email (plist)