org.el: Fix ID property retrieval

* org.el (org-clone-subtree-with-time-shift): Fix ID property
retrieval.
This commit is contained in:
Bastien 2020-01-25 20:41:48 +01:00
parent 5712412b5d
commit c8975ec150
1 changed files with 1 additions and 1 deletions

View File

@ -7865,7 +7865,7 @@ with the original repeater."
(nmin 1)
(nmax n)
(n-no-remove -1)
(idprop (org-entry-get nil "ID")))
(idprop (org-entry-get beg "ID")))
(when (and doshift
(string-match-p "<[^<>\n]+ [.+]?\\+[0-9]+[hdwmy][^<>\n]*>"
template))