Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a built in command to migrate open buffers to another frame when delete-frame is called?

I see that there is a variable `delete-frame-functions' that could be hooked into to do this with some elisp code, but I wondered if there is already a way.

share|improve this question
2  
All buffers are accessible in all frames. If that's not the case, perhaps you have different instances of Emacs running. In that case consider using emacs --daemon together with emacsclient. – Ivan Andrus Jul 2 '12 at 20:34
    
I see, my problem was that opening a file from Finder on Mac OS X was starting a new process. If I start the emacs server then the buffers are available in other frames befor and after the frame is closed – justinhj Jul 2 '12 at 23:23

As Ivan's comment points out, all buffers should be available in all frames. In my case I was starting a new emacs process when opening files from Finder, which I could fix by running `server-start' or running emacs as a daemon.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .