emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Inserting property drawers and comments


From: Kyle Meyer
Subject: Re: [O] Inserting property drawers and comments
Date: Tue, 09 Dec 2014 16:14:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

RCY <address@hidden> 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



reply via email to

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