RCY <re...@yahoo.com> wrote: > I can insert a property drawer using the 'C-u C-c C-x d' key > sequence. Is there a way to do so by directly calling the > org-insert-property-drawer function? I get a 'Wrong type argument: > commandp, org-insert-property drawer error' when I try to call it > using a shortcut command.
It's not an interactive function. If you prefer to bind it directly to a key, you can wrap it in a command and then bind that to a key. (defun my/org-insert-property-draw () (interactive) (org-insert-property-drawer)) -- Kyle