[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] orgmode & pdf-tools

From: Nicolas Goaziou
Subject: Re: [O] orgmode & pdf-tools
Date: Mon, 25 Jul 2016 13:47:25 +0200


Pablo S. Casas <address@hidden> writes:

>    After edebugging org-open-file I found a possible solution. The
> documentation string for org-file-apps should be modified for the sexp
> case to use the link variable instead of file.
> #+BEGIN_SRC elisp
> (add-to-list 'org-file-apps '("\\.pdf\\'" . (org-pdfview-open link)))
> (add-to-list 'org-file-apps '("\\.pdf::\\(\\d+\\)\\'" . (org-pdfview-open 
> link)))

I'm not sure about what the initial problem is, but there is no more
"sexp" case in `org-file-apps' in development version. You can use
a function instead.


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]