|
From: | Kevin Rodgers |
Subject: | Re: w3 trouble |
Date: | Tue, 21 Oct 2003 10:41:37 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Björn Lindström wrote:
; Open links in Gnus articles with browse-url. (eval-after-load "w3" '(progn (fset 'w3-fetch-orig (symbol-function 'w3-fetch)) (defun w3-fetch (&optional url target) (interactive (list (w3-read-url-with-default))) (if (eq major-mode 'gnus-article-mode) (browse-url url) (w3-fetch-orig url target)))))
You might like advice.el: (defadvice w3-fetch (around gnus-browse-url activate) "Open links in Gnus with `browse-url' instead." (if (eq major-mode 'gnus-article-mode) (browse-url (ad-get-arg 0)) ; URL ad-do-it)) -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |