Fix new frame bug in Emacs 23
Merge pull request #37 from r-darwish/23-new-frame-fix

Fix new frame bug in Emacs 23