emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Folding org drawers in elisp code?


From: Carsten Dominik
Subject: Re: [Orgmode] Folding org drawers in elisp code?
Date: Mon, 30 Aug 2010 09:50:26 +0200


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




reply via email to

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