fix(org): fix use of removed function
This commit is contained in:
parent
5861e16b92
commit
221b4fa145
|
@ -2850,7 +2850,7 @@ the attachment cannot be restored!"
|
|||
(interactive)
|
||||
(let* ((archived-p
|
||||
(lambda (element)
|
||||
(and (org-element-type-p element 'headline)
|
||||
(and (eq (org-element-type element) 'headline)
|
||||
(org-element-property :ARCHIVE_FILE element))))
|
||||
(lineage (org-element-lineage (org-element-at-point) nil t))
|
||||
(heading (or (-first archived-p lineage)
|
||||
|
|
Loading…
Reference in a new issue