make sure to select window/buffer/frame in emacs24

(much easier than using the emacs23 method)