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

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

[elpa] externals/org f18fad60b6 1/2: org-id-uuid: Use compat org-time-co


From: ELPA Syncer
Subject: [elpa] externals/org f18fad60b6 1/2: org-id-uuid: Use compat org-time-convert-to-list for emacs <27.1
Date: Wed, 5 Jul 2023 06:58:29 -0400 (EDT)

branch: externals/org
commit f18fad60b6e09709a253469f8dde77233baceb34
Author: Justin Vallon <JustinVallon@gmail.com>
Commit: Ihor Radchenko <yantar92@posteo.net>

    org-id-uuid: Use compat org-time-convert-to-list for emacs <27.1
    
    * lisp/org-macs.el (org-id-uuid): Use `org-time-convert-to-list'
    instead of `time-convert', which is not yet available in Emacs 26.
---
 lisp/org-macs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 2eed0028e5..d6879e8cf8 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -803,7 +803,7 @@ When NEXT is non-nil, check the next line instead."
   "Return string with random (version 4) UUID."
   (let ((rnd (md5 (format "%s%s%s%s%s%s%s"
                          (random)
-                         (time-convert nil 'list)
+                         (org-time-convert-to-list nil)
                          (user-uid)
                          (emacs-pid)
                          (user-full-name)



reply via email to

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