help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to setup w3m-el as a default browser on GNU system?


From: Paul Chany
Subject: Re: How to setup w3m-el as a default browser on GNU system?
Date: Fri, 18 Jun 2010 12:27:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Štěpán,

Štěpán Němec <stepnem@gmail.com> writes:

> Paul Chany <csanyipal@gmail.com> writes:
>> Any advices?
>
> Well, the `org-file-apps' documentation is probably not the most
> readable, but it's all there nonetheless:
>
> Possible values for the command are:
>
> [...]
>
>  sexp          A Lisp form which will be evaluated.  The file path
>                will be available in the Lisp variable `file'.
>                
>
> I.e., something like ("\\.x?html?\\'" . (browse-url file)) will do
> what you want.

Thanks! Now I have:
 '(org-file-apps 
   (quote (
           (auto-mode . emacs) 
           ("\\.x?html?\\'" . (browse-url file))
           ("\\.pdf\\'" . default)
          )
   )
  )

and it works!

However I'm interested in that that where can one find Manual for Emacs
Lisp so her/he can study the Lisp forms?

-- 
Regards,
Paul Chany
You can freely correct my English.
http://csanyi-pal.info




reply via email to

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