forked from mirrors/org-mode
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.
This commit is contained in:
parent
48fffa5dac
commit
f18fad60b6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue