From e9fa260e628f644c06ce77c06231f1af7e8f75c5 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 3 Feb 2011 15:06:57 +0100 Subject: [PATCH] org-faq.org: New FAQ "Can I hide blocks at startup?" --- org-faq.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/org-faq.org b/org-faq.org index 0c1ded3..cf3401f 100644 --- a/org-faq.org +++ b/org-faq.org @@ -1098,6 +1098,22 @@ If you are using an older version of org mode, you can: (define-key org-mode-map "\C-e" 'move-end-of-line))) #+end_src +** Can I hide blocks at startup? + +Yes: + +#+begin_src emacs-lisp +(setq org-hide-block-startup t) +#+end_src + +Or use + +#+begin_src org +,#+STARTUP: hideblocks +#+end_src + +on a per-file basis. + * Faces and highlighting :PROPERTIES: :CUSTOM_ID: Faces -- 2.11.4.GIT