emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/org-notify 704e023ad8 21/23: Simplify call to time-add


From: ELPA Syncer
Subject: [elpa] externals/org-notify 704e023ad8 21/23: Simplify call to time-add in org-notify-body-text
Date: Mon, 25 Jul 2022 12:57:58 -0400 (EDT)

branch: externals/org-notify
commit 704e023ad85406fd52b2a4706564c9ad433692ab
Author: Peter Münster <pm@a16n.net>
Commit: Peter Münster <pm@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)



reply via email to

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