emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Bingo <right.ho@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to run org-repair-property-drawers after upgrade to 8.3?
Date: Thu, 13 Aug 2015 09:59:33 +0200	[thread overview]
Message-ID: <87y4hffwka.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAFSzjHFjGrV0kScpkL5=Lmyxs56BuDHGEi_L=b576AjPdCHg4A@mail.gmail.com> (Bingo's message of "Thu, 13 Aug 2015 13:11:02 +0530")

Hello,

Bingo <right.ho@gmail.com> writes:

>    I have put the defun of org-repair-property-drawers in my .emacs file
> copied from http://orgmode.org/Changes.html, and defined a keyboard
> shortcut for it:
>
> (global-set-key (kbd "C-c i") 'org-repair-property-drawers)
>
> Now after restarting emacs when I go to an org buffer, and use the keyboard
> shortcut, I get the error trace:
>
> Debugger entered--Lisp error: (wrong-type-argument commandp
> org-repair-property-drawers)
>   call-interactively(org-repair-property-drawers nil nil)
>   command-execute(org-repair-property-drawers)

You need to add (interactive) to the function's body, right after the
docstring.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2015-08-13  7:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13  7:41 how to run org-repair-property-drawers after upgrade to 8.3? Bingo
2015-08-13  7:59 ` Nicolas Goaziou [this message]

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=87y4hffwka.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=right.ho@gmail.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).