From: Kyle Meyer <kyle@kyleam.com>
To: RCY <recif@yahoo.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Inserting property drawers and comments
Date: Tue, 09 Dec 2014 16:14:22 -0500 [thread overview]
Message-ID: <87vblkr0ep.fsf@kyleam.com> (raw)
In-Reply-To: <CAD_Xbc7PQ7HOX8j9_JdOWNVu5XDT5E_sTKYACWOsFYPGW6pA2g@mail.gmail.com> (RCY's message of "Tue, 9 Dec 2014 15:40:21 -0500")
RCY <recif@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
next prev parent reply other threads:[~2014-12-09 21:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 20:40 Inserting property drawers and comments RCY
2014-12-09 21:05 ` Subhan Michael Tindall
2014-12-09 21:14 ` Kyle Meyer [this message]
2014-12-09 21:26 ` R C
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vblkr0ep.fsf@kyleam.com \
--to=kyle@kyleam.com \
--cc=Emacs-orgmode@gnu.org \
--cc=recif@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).