Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.