From 506cf495071143d1dd39224fd7613eed67d5f818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Tue, 2 Nov 2021 13:34:08 +0100 Subject: [PATCH] Updated --- .emacs.d/init.el | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c0be415..2df520b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -17,23 +17,6 @@ ;; UTF-8 (set-language-environment "UTF-8") -;; Packages list refresh -(when (not package-archive-contents) - (package-refresh-contents)) - -;; Auto Package Update -(use-package auto-package-update - :ensure t - :config - (progn - (setq - auto-package-update-delete-old-verions t - auto-package-update-interval 5 - ) - (auto-package-update-maybe) - ) -) - ;; Remove welcome screen (setq inhibit-startup-screen t) @@ -54,6 +37,24 @@ (package-install 'use-package) ) +;; Packages list refresh +(when (not package-archive-contents) + (package-refresh-contents)) + +;; Auto Package Update +(use-package auto-package-update + :ensure t + :config + (progn + (setq + auto-package-update-delete-old-verions t + auto-package-update-interval 5 + ) + (auto-package-update-maybe) + ) +) + + ;; Set path to store "custom-set" (setq custom-file "~/.emacs.d/emacs-custom.el") @@ -472,6 +473,8 @@ :config (treemacs-set-scope-type 'Perspectives)) ;; Python +(setq python-shell-interpreter "python3") +(setq py-python-command "/usr/bin/python3") (use-package company-jedi :ensure t :config