kiwanami/emacs-window-manager — pull request #11 by tkf (2012-02-29 10:50:26+00:00)
Title: fixed advices for switch/pop-to-buffer: return buffer

The first argument of switch-to-buffer and pop-to-buffer can be a string, so you can't return it as-is. You must convert it to a buffer explicitly.

`(invalid-function "*Local Variables*")` なるエラーが出て困っていました。どうやら、 files.el の `hack-local-variables-confirm` で `(let* (... (buf (pop-to-buffer "*Local Variables*"))) ...)` を呼んでいるのが原因だったようです。