emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] how to run org-repair-property-drawers after upgrade to 8.3?


From: Nicolas Goaziou
Subject: Re: [O] how to run org-repair-property-drawers after upgrade to 8.3?
Date: Thu, 13 Aug 2015 09:59:33 +0200

Hello,

Bingo <address@hidden> 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 via email to

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