[OS X Emacs] commandline new frame vs new buffer
yangguo47 at gmail.com
Wed Mar 11 02:20:14 EDT 2009
Here's the behavior I'm looking for:
When I run from the commandline:
open -a "Aquamacs Emacs" somefile
I'd like to open somefile in a new frame.
When I am already in emacs and hit C-x C-f:
I'd like to open somefile in a new buffer in the current frame.
How can this be accomplished? I don't know what the hook is to distinguish
between a commandline open file and in-emacs open file.
Thanks for the help. Once again, really enjoying Aquamacs.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MacOSX-Emacs