|
From: | John Kitchin |
Subject: | Re: [O] make svg files open in inkscape? |
Date: | Sat, 17 Feb 2018 18:35:00 -0800 |
I previously wrote this solution: https://emacs.stackexchange.com/questions/ 38345/open-an-external-sketch- drawing-application to make svg links open in inkscape, even if they don't already exist.
I wanted to try using org-file-apps for this:#+BEGIN_SRC emacs-lisp(defun my-svg (path link)(message "path: %s - %s" path link))(add-to-list 'org-file-apps '("\\.svg\\'" . my-svg))#+END_SRC
John
-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
[Prev in Thread] | Current Thread | [Next in Thread] |