wakatime-mode
wakatime-mode copied to clipboard
wakatime-save fails when opening buffer via org-protocol
Steps to reproduce
- Configure org and org-protocol
- Launch org-protocol://capture:/L/https%3A%2F%2Fexample.com/Example%20website
- Emacs opens a buffer for org-protocol, but...
- Get error message:
Error in auto-save-hook (wakatime-save): (file-error "Setting current directory" "No error" "c:/WINDOWS/system32/org-protocol:/capture/")
Sorry, URI in step 2 is incorrect, it's the old-style and works with Wakatime.el. It's the new-style links that fail (i.e. org-protocol://capture?template=L&url=https%3A%2F%2Fexample.com&title=Example%20website in this example).