[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-contrib fd232dff15: * lisp/org-depend.el: Fix obsolete
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-contrib fd232dff15: * lisp/org-depend.el: Fix obsolete names |
Date: |
Tue, 26 Sep 2023 10:01:41 -0400 (EDT) |
branch: elpa/org-contrib
commit fd232dff1522346c9f532a1dc1b14f0bb7c26eb6
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
* lisp/org-depend.el: Fix obsolete names
(require): Use `cl-lib', not `cl'.
(org-depend-block-todo): Use non-obsolete function name.
---
lisp/org-depend.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/org-depend.el b/lisp/org-depend.el
index 3a74499b39..8aaf79c1e4 100644
--- a/lisp/org-depend.el
+++ b/lisp/org-depend.el
@@ -156,7 +156,7 @@
(require 'org)
(eval-when-compile
- (require 'cl))
+ (require 'cl-lib))
(defcustom org-depend-tag-blocked t
"Whether to indicate blocked TODO items by a special tag."
@@ -394,7 +394,7 @@ this ID property, that entry is also checked."
(save-excursion
(goto-char pos)
;; find the older sibling, exit if no more siblings
- (unless (org-get-last-sibling)
+ (unless (org-get-previous-sibling)
(throw 'ignore t))
;; Check if this entry is not yet done and block
(unless (org-entry-is-done-p)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/org-contrib fd232dff15: * lisp/org-depend.el: Fix obsolete names,
ELPA Syncer <=