Hi Richard, Richard Lawrence <richard.lawre...@berkeley.edu> writes:
> I want to call org-map-entries in a way that calls a function at each > *child* of the current tree, but not at the current tree itself. That > is, for some function f, if my Org file looks like this: > > * Paper 1 > ** Student 1 > ** Student 2 > ... > > I want to call f at "Student 1", "Student 2", etc. but not at "Paper 1". > But if point is positioned at "Paper 1", then > > (org-map-entries 'f nil 'tree) > > first calls f at the "Paper 1" entry, not the "Student 1" entry. How > can I apply f just to the *children* of "Paper 1"? You can simply add (setq org-map-continue-from (outline-next-heading)) at the very beginning of your `f' function. HTH, -- Bastien _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode