* how to run org-repair-property-drawers after upgrade to 8.3?
@ 2015-08-13 7:41 Bingo
2015-08-13 7:59 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Bingo @ 2015-08-13 7:41 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 536 bytes --]
Hi,
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)
thanks
[-- Attachment #2: Type: text/html, Size: 786 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how to run org-repair-property-drawers after upgrade to 8.3?
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
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-08-13 7:59 UTC (permalink / raw)
To: Bingo; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-13 7:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).