unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: I need to turn off defadvice warnings
Date: Sat, 07 Jan 2012 00:49:58 +0100	[thread overview]
Message-ID: <87ty48pf15.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 87ty48bg9a.fsf@jidanni.org

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




  parent reply	other threads:[~2012-01-06 23:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06 22:47 I need to turn off defadvice warnings jidanni
2012-01-06 22:47 ` jidanni
2012-01-06 23:49 ` Tassilo Horn [this message]
     [not found] <mailman.1325.1325893818.15002.help-gnu-emacs@gnu.org>
2012-01-13  0:00 ` jidanni
2012-01-13 13:11   ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ty48pf15.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).