How does one trigger a function to run when a buffer of a particular name is created?
My use case is connecting to freenode with ERC for Emacs related channels. I manually call a function to create a new frame with a window layout specific to the channels I auto join, #emacs #org-mode #erc & #gnus. I'd like the function to automatically kick off after the last channel, in this case '#gnus', is created.