forked from mirrors/org-mode
Backport commit c6ba8100e from Emacs
* lisp/org-id.el (org-id-time-to-b36): Remove unnecessary ‘or’. Fix minor Org timestamp inefficiencies c6ba8100ea1db4616d3fe8485430b29143bc3d2e Paul Eggert Mon Aug 5 17:38:15 2019 -0700
This commit is contained in:
parent
08c7bbbf71
commit
218e694964
|
@ -422,7 +422,7 @@ using `org-id-decode'."
|
|||
(setq time (or time (org-current-time-as-list)))
|
||||
(concat (org-id-int-to-b36 (nth 0 time) 4)
|
||||
(org-id-int-to-b36 (nth 1 time) 4)
|
||||
(org-id-int-to-b36 (or (nth 2 time) 0) 4)))
|
||||
(org-id-int-to-b36 (nth 2 time) 4)))
|
||||
|
||||
(defun org-id-decode (id)
|
||||
"Split ID into the prefix and the time value that was used to create it.
|
||||
|
|
Loading…
Reference in New Issue