branch: elpa/org-contrib
commit e706cc89b416ddb7e2ea3334e1c2511e2a38169f
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    lisp/org-depend.el: Switch to lexical binding
    
    * lisp/org-depend.el (org-depend-trigger-todo): Remove unused
    let-bound variable.
---
 lisp/org-depend.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lisp/org-depend.el b/lisp/org-depend.el
index 64bf400a7c..d445086aaa 100644
--- a/lisp/org-depend.el
+++ b/lisp/org-depend.el
@@ -1,4 +1,4 @@
-;;; org-depend.el --- TODO dependencies for Org-mode
+;;; org-depend.el --- TODO dependencies for Org-mode  -*- lexical-binding: t; 
-*-
 ;; Copyright (C) 2008-2021 Free Software Foundation, Inc.
 ;;
 ;; Author: Carsten Dominik <carsten.domi...@gmail.com>
@@ -256,9 +256,7 @@ This does two different kinds of triggers:
              (let ((this-item (point)))
                ;; go up to the parent headline, then advance to next child
                (org-up-heading-safe)
-               (let ((end (save-excursion (org-end-of-subtree t)
-                                          (point)))
-                     (done nil)
+               (let ((done nil)
                      (items '()))
                  (outline-next-heading)
                  (while (not done)

Reply via email to