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

From: Stefan Monnier <[email-masked]>
Date: Thu, 27 Mar 2014 18:47:23 -0400

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

You'll get that if you compile files.el with an Emacs that dates back to
before that macro was added to window.el.

E.g.

   bzr update -r <older>
   make
   bzr update
   rm lisp/files.elc
   make

could get you there.  "make bootstrap" should fix it for you, tho.

        Stefan