New answers tagged


If I do understand correctly you could use (emacs-pid)


The answers here solve the question but for completness I will show my solution based on YoungFrog answer which in my opinion leads to a problematic state where no more confirmation will be asked for any process buffer killing. Context I just want to be able to kill *ansi-term-1* buffer with no confirmation : (defun perso/close-shell () ;; remove ...

Top 50 recent answers are included