branch: externals/org
commit f18fad60b6e09709a253469f8dde77233baceb34
Author: Justin Vallon <justinval...@gmail.com>
Commit: Ihor Radchenko <yanta...@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