0

How can I kill a buffer when closing a frame only if that's the only frame showing that buffer? Is there a way to check if the buffer in the selected frame is not in any other frame?

  • Please clarify if you mean "window" when you say "frame". Frames can have multiple windows, so it's not clear what you would want to do in the latter case. – Dan Jun 22 '16 at 12:58
  • @Dan Thanks, I know what frame and widow refer to in the emacs community, though! I actually found my answer here. Should I close mine as a duplicate? I'll try to find the link and get back. – stacko Jun 22 '16 at 13:24
  • 1
    @Dan Here: emacs.stackexchange.com/questions/2888/… – stacko Jun 22 '16 at 13:30

Browse other questions tagged or ask your own question.