Please find attached a small patch for org-depend, which fixes a bug (function 'remove-if' is unknown).

Thank you all for your work around emacs and org-mode!

best regards,
Damien Couroussé

--
Damien Couroussé
Research Engineer
Commissariat à l’énergie atomique et aux énergies alternatives
Institut List | Minatec Campus
17 avenue des Martyrs | 38054 Grenoble Cedex | France

Tel : +33 (0)4 38 78 04 66
Web :http://www-list.cea.fr
From 685dc764fab6bba1008da001eb295a301db16bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Damien=20Courouss=C3=A9?= <damien.courou...@cea.fr>
Date: Thu, 24 Mar 2022 15:43:25 +0100
Subject: [PATCH] org-depend.el: function remove-if is renamed org-remove-if

* org-depend.el: Fix bug, due to function 'remove-if' being not found.
  The org API has changed and the function was renamed 'org-remove-if'.

TINYCHANGE
---
 lisp/org-depend.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-depend.el b/lisp/org-depend.el
index 8306184..7dab651 100644
--- a/lisp/org-depend.el
+++ b/lisp/org-depend.el
@@ -287,7 +287,7 @@ This does two different kinds of triggers:
 				 (if no-wrap items-after
 				   (append items-after items-before))))
 			      (t (nreverse items))))
-		  (setq items (remove-if
+		  (setq items (org-remove-if
 			       (lambda (item)
 				 (or (equal (first item) this-item)
 				     (and (not todo-and-done-only)
-- 
2.30.2

Reply via email to