Subject: Re: bug#17123: 24.3.50; C-x C-c -> Invalid function: with-current-buffer-window

From: Glenn Morris <[email-masked]>
Date: Thu, 27 Mar 2014 17:35:20 -0400

Michael Heerdegen wrote:

> (disassemble 'save-buffers-kill-emacs) looks here like this:
>
> ...
> 65	constant  with-current-buffer-window
> 66	constant  get-buffer-create
> 67	constant  "*Process List*"
> 68	call	  1
> ...
>
> so `with-current-buffer-window' at least was not expanded while byte
> compiling the source file while building.

Then perhaps your build is broken. I have no idea how such a thing is
possible, since loadup.el loads "window" before it loads "files".

> 1.  While building, the compilation of file.el has to cope with an
> undefined macro, which is not good (i.e., a dependency problem).