[slime-devel] hyperspec-browse-url

i have a patch to hyperspec.el which allows one to change the viewing of hyperspec entries. this came up on irc a while ago because some people want to use one browser for "regular" links and another for C-c C-h, there are two ways to achieve this, and i don't know which is better: 1) change hyperspec.el to use a hyperspec-browse-url-function variable which is, normally, set to browse-url. 2) buffer locally set browse-url-function. preferences? -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen

On Wed, 23 Jun 2004 10:23:46 +0200, Marco Baringer <mb@bese.it> wrote:
i have a patch to hyperspec.el which allows one to change the viewing of hyperspec entries. this came up on irc a while ago because some people want to use one browser for "regular" links and another for C-c C-h, there are two ways to achieve this, and i don't know which is better:
1) change hyperspec.el to use a hyperspec-browse-url-function variable which is, normally, set to browse-url.
2) buffer locally set browse-url-function.
preferences?
Why not just mention in the docs that Emacs can already handle this? (setq browse-url-browser-function '(("hyperspec" . w3m-browse-url) ("." . browse-url-netscape))) Edi.
participants (2)
-
Edi Weitz
-
Marco Baringer