emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Damien Couroussé" <damien.courousse@cea.fr>
To: emacs-orgmode@gnu.org
Subject: org-depend: bug fix
Date: Fri, 25 Mar 2022 07:18:25 +0100	[thread overview]
Message-ID: <a46a1419-62fa-a162-b727-ed708157a74c@cea.fr> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 444 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 815 bytes --]

[-- Attachment #2: 0001-org-depend.el-function-remove-if-is-renamed-org-remo.patch --]
[-- Type: text/x-patch, Size: 971 bytes --]

From 685dc764fab6bba1008da001eb295a301db16bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Damien=20Courouss=C3=A9?= <damien.courousse@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	other threads:[~2022-03-25  6:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25  6:18 Damien Couroussé [this message]
2022-04-30  4:19 ` org-depend: bug fix Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a46a1419-62fa-a162-b727-ed708157a74c@cea.fr \
    --to=damien.courousse@cea.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).