How to automatically kill buffer on terminal process exit in Emacs
I found much simpler method, define an advice on term-handle-exit
(defadvice term-handle-exit
(after term-kill-buffer-on-exit activate)
(kill-buffer))
I found much simpler method, define an advice on term-handle-exit
(defadvice term-handle-exit
(after term-kill-buffer-on-exit activate)
(kill-buffer))