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.

  • 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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