[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I need to turn off defadvice warnings
From: |
Tassilo Horn |
Subject: |
Re: I need to turn off defadvice warnings |
Date: |
Sat, 07 Jan 2012 00:49:58 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) |
jidanni@jidanni.org writes:
> A friend told me to use
> (defadvice gnus-summary-select-article-buffer ...
>
> But now I get
> ad-handle-definition: `gnus-summary-select-article-buffer' got redefined
> warnings.
>
> Is there anyway to turn them off?
Don't simply turn off a warning, but check what causes it. In your
case, the warning tells you that
gnus-summary-select-article-buffer
already has an advice on it. Your new defadvice deactivates the old
piece of advice and activates the new one.
Bye,
Tassilo