Improve `org-insert-drawer' and related documentation.
commit471ddbd14e2bb3e7689cdca5e6a461e54b8be9d8
authorBastien Guerry <bzg@altern.org>
Thu, 26 Jan 2012 08:18:10 +0000 (26 09:18 +0100)
committerBastien Guerry <bzg@altern.org>
Thu, 26 Jan 2012 08:18:10 +0000 (26 09:18 +0100)
tree7098d56d133cc72ff2c8e7e271b3a29004f01ad1
parent674bb56857584f3ab72ac9a4ef2b7e791533d43b
Improve `org-insert-drawer' and related documentation.

* org.el (org-insert-property-drawer): Not an interactive
command anymore.
(org-insert-drawer): With a prefix argument, insert a property
drawer.  Check for headline within the region before inserting
the drawer.  Don't include special drawers in the completion
table.
(org-mode-map): New keybinding `C-c C-x d' for
`org-insert-drawer'.

* org.texi (Drawers): How to insert/complete drawers.

Thanks to Nicolas Goaziou for the discussion and the patch.
doc/org.texi
lisp/org.el