diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-01-24 18:14:39 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-01-24 18:14:39 +0100 |
commit | 4370ee4e44514e9ec96f1f654e16796c5434b3aa (patch) | |
tree | 21dcf5d97af6e2f964224507e7474d8b54e0acbc | |
parent | 12a23d6c61ce04695e8d967e96843f94823df78b (diff) | |
download | org-mode-4370ee4e44514e9ec96f1f654e16796c5434b3aa.tar.gz |
org-agenda: Fix `org-agenda-list-stuck-projects'
* lisp/org-agenda.el (org-agenda-list-stuck-projects): Fix thinko
introduced in 7c3e0b0fd.
Reported-by: Matt Lundin <mdl@imapmail.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/111633>
-rw-r--r-- | lisp/org-agenda.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 6d675e9..220ba5f 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5124,7 +5124,8 @@ of what a project is and how to check if it stuck, customize the variable `(lambda () (and (save-excursion (let ((case-fold-search nil)) - (re-search-forward ,skip-re (org-end-of-subtree t) t))) + (re-search-forward + ,skip-re (save-excursion (org-end-of-subtree t)) t))) (progn (outline-next-heading) (point)))))) (org-tags-view nil matcher) (setq org-agenda-buffer-name (buffer-name)) |