From 221b4fa1452a0760dd78207a429c7a1cdc4f12b3 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Mon, 22 Jul 2024 12:40:05 -0400 Subject: [PATCH] fix(org): fix use of removed function --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.org b/config.org index 889772f..9e8c15e 100644 --- a/config.org +++ b/config.org @@ -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)