On Aug 23, 2010, at 9:22 PM, Paul Sexton wrote:

Can anyone tell me how I can write elisp code to force drawers to appear closed
(folded) in an org buffer?


(org-cycle-hide-drawers 'all)

will cover the whole buffer.  Other arguments will cover smaller
sections, depending on what org-cycle just did.

In fact, you might want to look at all the functions in
org-cycle-hook, they do various kinds of cleanup after visibility
has been changed.

Best wishes

- Carsten


_______________________________________________
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

Reply via email to