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

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

[nongnu] elpa/helm 68be13d35a 2/5: Avoid using time-convert for Emacs-26


From: ELPA Syncer
Subject: [nongnu] elpa/helm 68be13d35a 2/5: Avoid using time-convert for Emacs-26 compatibility
Date: Fri, 10 Feb 2023 15:59:11 -0500 (EST)

branch: elpa/helm
commit 68be13d35a4986138fbbb81d78f606c2402fbb0b
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Avoid using time-convert for Emacs-26 compatibility
---
 helm-core.el  | 2 +-
 helm-elisp.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/helm-core.el b/helm-core.el
index 35c31eb5da..56ce7ac544 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -1964,7 +1964,7 @@ Use optional arguments ARGS like in `format'."
       (buffer-disable-undo)
       (let ((inhibit-read-only t))
         (goto-char (point-max))
-        (insert (let ((tm (time-convert nil 'list)))
+        (insert (let ((tm (current-time)))
                   (format (concat (if (string-match "Start session" 
format-string)
                                       "* " "** ")
                                   "%s.%06d (%s)\n %s\n")
diff --git a/helm-elisp.el b/helm-elisp.el
index 2e42a3379d..a52672df47 100644
--- a/helm-elisp.el
+++ b/helm-elisp.el
@@ -972,7 +972,7 @@ a string, i.e. the `symbol-name' of any existing symbol."
             (if (timer--idle-delay timer)
                 (format "idle-for=[%s]"
                         (format-seconds "%dd %hh %mmin %z%,3ss"
-                                        (time-convert time t)))
+                                        (time-to-seconds time)))
               (format-time-string "%m/%d %T" time)))
           (or (timer--repeat-delay timer) "nil")
           (mapconcat #'identity (split-string



reply via email to

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