emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] pdf files with openwith only, and only this.


From: Colin Baxter
Subject: Re: [O] pdf files with openwith only, and only this.
Date: Thu, 04 Jul 2019 13:48:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

>>>>> John Kitchin <address@hidden> writes:

    > I don't think org-ref is responsible, except that it installs
    > pdf-tools.  When I click on a link like [[./2019-07-04.pdf]] it
    > opens in acrobat for me.

    > I don't have anything fancy org-file-apps is a variable defined in
    > `org.el'.  Its value is ((auto-mode . emacs) ("\\.mm\\'"
    > . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default))

    > which I guess means on osx that it gets opened with "open".

    > It looks like you can do this

    > (setf (cdr (assoc "\\.pdf\\'" org-file-apps)) "evince %s")

Yes, that works for me too.

Best wishes,

Colin Baxter
www.Colin-Baxter.com



reply via email to

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