Managing helper death

The easiest solution I can think of is to use kill-buffer-query-functions hook to prevent *Pymacs* to be killed. Like this: (defun my-pymacs-saver () (if (equal (buffer-name) “*Pymacs*”) (yes-or-no-p “Really kill *Pymacs* buffer? “) t)) (add-hook ‘kill-buffer-query-functions ‘my-pymacs-saver) It will ask you if you really want to kill *Pymacs* buffer or not. You can even make … Read more

tech