unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* make-local-hook obsolete
@ 2003-09-12  8:10 Klaus Berndl
  2003-09-12 14:48 ` Jesper Harder
  0 siblings, 1 reply; 4+ messages in thread
From: Klaus Berndl @ 2003-09-12  8:10 UTC (permalink / raw)



I'm using latest CVS-version of GNU Emacs 21  and i know that there is no
official support for it - but only on short and probably very easy question):

After every Emacs start-up i get a additional window with buffer *Compile Log*
which tells me that make-local-hook is obsolete....

I know this so how can i disable to pop-up this warning window..Warning me
after byte-compilation would be OK but not after every Emacs-start.

Thanks a lot,
Klaus

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make-local-hook obsolete
  2003-09-12  8:10 make-local-hook obsolete Klaus Berndl
@ 2003-09-12 14:48 ` Jesper Harder
  2003-09-12 16:33   ` Klaus Berndl
  0 siblings, 1 reply; 4+ messages in thread
From: Jesper Harder @ 2003-09-12 14:48 UTC (permalink / raw)


Klaus Berndl <klaus.berndl@sdm.de> writes:

> I'm using latest CVS-version of GNU Emacs 21 and i know that there
> is no official support for it - but only on short and probably very
> easy question):
>
> After every Emacs start-up i get a additional window with buffer
> *Compile Log* which tells me that make-local-hook is obsolete....

Why are you byte-compiling every time you start Emacs?  It sounds like
a mistake somewhere.

> I know this so how can i disable to pop-up this warning
> window..Warning me after byte-compilation would be OK but not after
> every Emacs-start.

See `byte-compile-warnings' -- you could let-bind it around the code
that does the byte-compiling.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make-local-hook obsolete
  2003-09-12 14:48 ` Jesper Harder
@ 2003-09-12 16:33   ` Klaus Berndl
  2003-09-12 17:41     ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Klaus Berndl @ 2003-09-12 16:33 UTC (permalink / raw)


On Fri, 12 Sep 2003, Jesper Harder wrote:

>  Klaus Berndl <klaus.berndl@sdm.de> writes:
>  
> > I'm using latest CVS-version of GNU Emacs 21 and i know that there
> > is no official support for it - but only on short and probably very
> > easy question):
> >
> > After every Emacs start-up i get a additional window with buffer
> > *Compile Log* which tells me that make-local-hook is obsolete....
>  
>  Why are you byte-compiling every time you start Emacs?  It sounds like
>  a mistake somewhere.

Hmm, you could be right....but i do not byte-compiling - at least not
intentionally.

>  
> > I know this so how can i disable to pop-up this warning
> > window..Warning me after byte-compilation would be OK but not after
> > every Emacs-start.
>  
>  See `byte-compile-warnings' -- you could let-bind it around the code
>  that does the byte-compiling.

If i would know which code causes this i could do this right or even better i
could make the code stop byte-compiling at startup...

Seems that loading one library causes it but this library loads in turn other
libs....what would be a good way to find out which code causes the
byte-compile??

Thanks a lot,
Klaus

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make-local-hook obsolete
  2003-09-12 16:33   ` Klaus Berndl
@ 2003-09-12 17:41     ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2003-09-12 17:41 UTC (permalink / raw)


> If i would know which code causes this i could do this right or even better i
> could make the code stop byte-compiling at startup...

> Seems that loading one library causes it but this library loads in turn other
> libs....what would be a good way to find out which code causes the
> byte-compile??

(eval-after-load "bytecomp" '(debug))


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-12 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-12  8:10 make-local-hook obsolete Klaus Berndl
2003-09-12 14:48 ` Jesper Harder
2003-09-12 16:33   ` Klaus Berndl
2003-09-12 17:41     ` Stefan Monnier

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).