From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: how to run org-repair-property-drawers after upgrade to 8.3? Date: Thu, 13 Aug 2015 09:59:33 +0200 Message-ID: <87y4hffwka.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPnOg-00027p-D8 for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 03:57:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPnOf-0002Zx-FL for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 03:57:58 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:37618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPnOf-0002Yv-8O for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 03:57:57 -0400 In-Reply-To: (Bingo's message of "Thu, 13 Aug 2015 13:11:02 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bingo Cc: emacs-orgmode@gnu.org Hello, Bingo 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