From 5fbc371da5b8e6e6e8a00383101d361eb915dafa Mon Sep 17 00:00:00 2001 From: dickmao Date: Tue, 11 Feb 2020 21:30:38 -0500 Subject: [PATCH] use the correct equality predicate for symbols --- lisp/ein-file.el | 2 +- lisp/ein-jupyter.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ein-file.el b/lisp/ein-file.el index 3c6f153..078b40f 100644 --- a/lisp/ein-file.el +++ b/lisp/ein-file.el @@ -44,7 +44,7 @@ (ein:$content-path content))) (setq ein:content-file-buffer--content content) (let ((raw-content (ein:$content-raw-content content))) - (if (eql system-type 'windows-nt) + (if (eq system-type 'windows-nt) (insert (decode-coding-string raw-content 'utf-8)) (insert raw-content))) (set-visited-file-name (buffer-name)) diff --git a/lisp/ein-jupyter.el b/lisp/ein-jupyter.el index 040d0ce..3236ea7 100644 --- a/lisp/ein-jupyter.el +++ b/lisp/ein-jupyter.el @@ -350,7 +350,7 @@ server command." (run-at-time 2 nil (lambda () (ein:log 'info "Resignaled %s with pid %s" proc pid) - (signal-process pid (if (eql system-type 'windows-nt) 9 15))))) + (signal-process pid (if (eq system-type 'windows-nt) 9 15))))) ;; `ein:notebooklist-sentinel' frequently does not trigger (ein:notebooklist-list-remove url-or-port)