help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suppress a warning permanently


From: Kevin Rodgers
Subject: Re: Suppress a warning permanently
Date: Wed, 19 Jul 2006 10:28:03 -0600
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Reiner Steib wrote:
It wouldn't hurt to post the message additionally:

,----
|   ** semantic-before-toplevel-bovination-hook is an obsolete variable; use
|      semantic--before-fetch-tags-hook instead.
`----

Maybe ECB could use something like...

,----
| (run-hooks (if (boundp 'semantic--before-fetch-tags-hook)
|              'semantic--before-fetch-tags-hook
|            'semantic-before-toplevel-bovination-hook))
`----

I found ecb-semantic-wrapper.el at http://ecb.cvs.sourceforge.net/ecb/ecb/
and see that it has this:

(defsubst ecb--semantic--before-fetch-tags-hook ()
  (if (boundp 'semantic--before-fetch-tags-hook)
      'semantic--before-fetch-tags-hook
    'semantic-before-toplevel-bovination-hook))

So presumably it does (run-hooks (ecb--semantic--before-fetch-tags-hook))

Shouldn't that prevent the warning?

--
Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]