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)
|
(interactive)
|
||||||
(let* ((archived-p
|
(let* ((archived-p
|
||||||
(lambda (element)
|
(lambda (element)
|
||||||
(and (org-element-type-p element 'headline)
|
(and (eq (org-element-type element) 'headline)
|
||||||
(org-element-property :ARCHIVE_FILE element))))
|
(org-element-property :ARCHIVE_FILE element))))
|
||||||
(lineage (org-element-lineage (org-element-at-point) nil t))
|
(lineage (org-element-lineage (org-element-at-point) nil t))
|
||||||
(heading (or (-first archived-p lineage)
|
(heading (or (-first archived-p lineage)
|
||||||
|
|
Loading…
Reference in a new issue