millejoh / emacs-ipython-notebook

Jupyter notebook client in Emacs
http://millejoh.github.io/emacs-ipython-notebook/
GNU General Public License v3.0
1.47k stars 122 forks source link

Run custom hooks after a kernel connection is made. #679

Closed millejoh closed 4 years ago

millejoh commented 4 years ago

Introduce new user custom variable `ein:on-kernel-connect-functions' which is an abnormal hook called after a kernel connection is made. All functions in the hook are called with the connected kernel as an argument.

This replaces the old, unused `ein:kernel-run-after-start-hook' function.