Sorry guys, I must apologise for my own stupidity...
I had an old pre-version (some years old) of the new compile.el-implementation
(without compilation-forget-errors) in my site-lisp folder which "shadowed"
the shipped one....
So, sorry for the noise - all is working fine, it was my own fault.
Ciao,
Klaus
-----Ursprüngliche Nachricht-----
Von: Richard Stallman [mailto:rms@gnu.org]
Gesendet: Sa 07.07.2007 15:06
An: Berndl, Klaus
Cc: emacs-devel@gnu.org
Betreff: Re: byte-compiling an elisp-file fails in Emacs 22.1 (reproducable)
Debugger entered--Lisp error: (void-function compilation-forget-errors)
compilation-forget-errors()
byte-compile-log-file()
byte-compile-from-buffer(#<buffer *Compiler Input*> "c:/home/.emacs")
byte-compile-file("c:/home/.emacs")
emacs-lisp-byte-compile()
call-interactively(emacs-lisp-byte-compile)
Even explicitly loading compile.el (which defines this function) before byte-compiling
doesn't fix it....
That is VERY strange. Can you check (fboundp 'compilation-forget-errors)?