org-toggl
org-toggl copied to clipboard
org-get-heading problem (wrong number of arguments)
I got your code to work very easily after altering the call to
org-get-heading
to only pass 2 parameters instead of 4.
The error I got with your code:
Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 2) 4)
org-get-heading(t t t t)
org-toggl-clock-in()
run-hooks(org-clock-in-hook)
org-clock-in(nil)
funcall-interactively(org-clock-in nil)
call-interactively(org-clock-in nil nil)
command-execute(org-clock-in)
I am using a recent version of org-contrib, in case that is relevant.
Thanks for your work! I will scare my coworkers even more by moving yet another part of my workflow into emacs ;-).
EDIT: This is when calling using the org clock in command