From 612153688ba3a34c70aa873d03173e36800ca417 Mon Sep 17 00:00:00 2001 From: dickmao Date: Tue, 11 Feb 2020 21:08:27 -0500 Subject: [PATCH] sudhir shenoy's recommendations --- lisp/ein-jupyter.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/ein-jupyter.el b/lisp/ein-jupyter.el index ac38a35..040d0ce 100644 --- a/lisp/ein-jupyter.el +++ b/lisp/ein-jupyter.el @@ -293,9 +293,7 @@ server command." (if result (format "[%s not a directory]" result) "")) - nil - ein:jupyter-default-notebook-directory - t))) + default-dir default-dir t))) result) nil (lambda (buffer url-or-port) @@ -352,7 +350,7 @@ server command." (run-at-time 2 nil (lambda () (ein:log 'info "Resignaled %s with pid %s" proc pid) - (signal-process pid 15)))) + (signal-process pid (if (eql system-type 'windows-nt) 9 15))))) ;; `ein:notebooklist-sentinel' frequently does not trigger (ein:notebooklist-list-remove url-or-port)