From 78fb2e286023701218592b381a717cc1726a85cb Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Tue, 14 Aug 2018 19:50:10 +0200 Subject: [PATCH] =?UTF-8?q?[Org]=20Update=20=E2=80=98org-file-apps?= =?UTF-8?q?=E2=80=98=20for=20Cygwin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site-lisp/db-org.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index 009665f..1d87089 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -100,6 +100,9 @@ (add-to-list 'org-file-apps '("\\.pptx\\'" . system)) (add-to-list 'org-file-apps '("\\.xlsx\\'" . system)) +(when (eq system-type 'cygwin) + (add-to-list 'org-file-apps '(t . "cygstart") t)) + (when (eq system-type 'windows-nt) (org-link-set-parameters "onenote" :follow #'db/org-onenote-open)