Fix a bug in org-choose.el

This commit is contained in:
Carsten Dominik 2009-02-10 10:10:44 +01:00
parent 1ece4e1bcb
commit 6296225ac6
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
* lisp/org-choose.el (org-choose-get-fn-map-group): Call
`org-up-heading-all' instead of `outline-up-heading-all', which
does not exist.
2009-02-04 Carsten Dominik <carsten.dominik@gmail.com> 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
* lisp/org-depend.el (org-depend-act-on-sibling): New macro. * lisp/org-depend.el (org-depend-act-on-sibling): New macro.

View File

@ -386,7 +386,8 @@ setting was changed."
#'(lambda (fn) #'(lambda (fn)
(save-excursion (save-excursion
(outline-up-heading-all 1) (unless (org-up-heading-safe)
(error "Chosing is only supported between siblings in a tree, not on top level"))
(save-restriction (save-restriction
(org-map-entries fn nil 'tree))))) (org-map-entries fn nil 'tree)))))