Remove unused function

* jupyter-repl.el (jupyter-repl-display-kernel-buffer): Do it.
This commit is contained in:
Nathaniel Nicandro 2020-04-27 16:35:27 -05:00
parent 61d01dfcf1
commit c06b71a3f0

View file

@ -1533,19 +1533,6 @@ the kernel `jupyter-current-client' is connected to."
(unless shutdown
(jupyter-hb-unpause client))))
(defun jupyter-repl-display-kernel-buffer ()
"Display the kernel processes stdout."
(interactive)
(if (jupyter-client-has-manager-p)
(let ((manager (oref jupyter-current-client manager)))
(if (jupyter-kernel-alive-p manager)
(if (and (slot-boundp manager 'kernel)
(processp (oref manager kernel)))
(display-buffer (process-buffer (oref manager kernel)))
(error "Manager needs a kernel slot"))
(error "Kernel is not alive")))
(user-error "Kernel not a subprocess")))
;;; Isearch
;; Adapted from isearch in `comint', see `comint-history-isearch-search' for
;; details