emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Iterate over list with `org-next-item'


From: Zachary Young
Subject: [Orgmode] Iterate over list with `org-next-item'
Date: Thu, 2 Sep 2010 17:47:38 -0700

Hi all,

I am trying to iterate over a list with `org-next-item'. I just tried:

(ignore-errors (while (equal nil (org-next-item))))

and it worked.

Is there a better way to do this? I'm not very versed in Elisp, and `org-next-item' returning `nil' on success, and throwing an error at the end of the list is throwing me a bit.

Thank you,
Zachary

reply via email to

[Prev in Thread] Current Thread [Next in Thread]