[Org] Add custom link for OneNote files

This commit is contained in:
Daniel - 2017-11-04 11:17:45 +01:00
parent b3a55c2fda
commit edcce1d692
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 10 additions and 0 deletions

View File

@ -944,6 +944,16 @@ Current Task: %`org-clock-current-task; "
(org-todo 'done)
(org-save-all-org-buffers)))))))
;;; Custom links for Windows
(org-add-link-type "onenote" 'org-onenote-open)
(defun db/org-onenote-open (path)
"Visit OneNote document on PATH."
(w32-shell-execute "open" path))
;;; End