Ian Barton <li...@manor-farm.org> writes:

> Recently I have noticed a problem setting up Drawers. In my .emacs I have:
>
> (add-to-list 'load-path "~/.emacs.d/src/lisp")
> (add-to-list 'load-path "~/.emacs.d/src/org-mode/contrib/lisp")
> (require 'org-install)
> (require 'org-babel-init)
> (org-babel-load-file "~/.emacs.d/blacky.org")
>
> In ~/.emacs.d/blacky.el I have:
>
> ;; Define some default drawers.
> (setq org-drawers (quote ("PROPERTIES" "SETUP")))
>
> However, PROPERTIES and SETUP aren't recognised as drawers in my org
> files. They don't close and open using tab and the fontification of
> them indicated that org isn't recognising them as drawers.
>

Does it help if you (setq org-drawers ...) before the (require
'org-install).  I seem to recall that setq's need to be done before you
load org-mode.

The other alternative is to keep the variables via customize.

HTH,
Bernt


_______________________________________________
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