Hello,
Pablo S. Casas <[email protected]> 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)))
> #+END_SRC
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.
Regards,
--
Nicolas Goaziou