[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus-article-decode-hook
From: |
Katsumi Yamaoka |
Subject: |
Re: gnus-article-decode-hook |
Date: |
Tue, 31 Aug 2004 23:57:26 +0900 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
>>>>> In <87k6vf5st2.fsf@qrnik.zagroda>
>>>>> Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl> wrote:
> If I do (add-hook 'gnus-article-decode-hook 'function-which-does-nothing),
> articles are no longer recoded, they are assumed to be ISO-8859-1.
> How to perform something when an article is decoded, without stopping
> decoding from working?
Even in the .gnus.el file, you need to do that as follows:
(eval-after-load "gnus-art"
'(add-hook 'gnus-article-decode-hook 'function-which-does-nothing))
or
(require 'gnus-art)
(add-hook 'gnus-article-decode-hook 'function-which-does-nothing)
It is because gnus-article-decode-hook is defined in gnus-art.elc
which will not be loaded normally when Gnus starts, and just
using add-hook voids the default value.