2

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
  • 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. Jul 2, 2012 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, 2012 at 23:23

1 Answer 1

0

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.

You must log in to answer this question.

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