From e3b0ca8999e5919ecbd7b8d45f35017a524ce53a Mon Sep 17 00:00:00 2001 From: Marcus Kammer <2262664-marcus-kammer@users.noreply.gitlab.com> Date: Sun, 9 Feb 2020 09:52:53 +0100 Subject: [PATCH] Only on linux check for elpy-rpc-python-command --- bundle/custom.el | 1 - bundle/os.el | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bundle/custom.el b/bundle/custom.el index 150baa0c..043f68d7 100644 --- a/bundle/custom.el +++ b/bundle/custom.el @@ -37,7 +37,6 @@ ("Europe/Paris" "Paris") ("Asia/Calcutta" "Bangalore") ("Asia/Tokyo" "Tokyo")))) - '(elpy-rpc-python-command "python3") '(fill-column 79) '(font-lock-maximum-decoration t) '(global-auto-revert-mode t) diff --git a/bundle/os.el b/bundle/os.el index 927b1653..1119d3f4 100644 --- a/bundle/os.el +++ b/bundle/os.el @@ -9,7 +9,6 @@ (when (eq system-type 'windows-nt) (setq python-shell-interpreter "python") - (setq elpy-rpc-python-command "python") (add-to-list 'load-path (expand-file-name "~/AppData/Roaming/__secrets")) (cd "~/opt") (when (string= (system-name) "EVG02667NB") @@ -23,7 +22,8 @@ x-select-enable-primary t undo-tree-enable-undo-in-region nil slime-lisp-implementations '((sbcl ("/usr/bin/sbcl"))) - gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") + gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3" + elpy-rpc-python-command "python3") (when (string= (system-name) "XPS-13-9380"))) (provide 'os)