diff --git a/custom.el b/custom.el index 06510c2..716fa4b 100644 --- a/custom.el +++ b/custom.el @@ -3,6 +3,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(custom-enabled-themes (quote (dracula))) '(custom-safe-themes (quote ("274fa62b00d732d093fc3f120aca1b31a6bb484492f31081c1814a858e25c72e" default))) diff --git a/init.el b/init.el index 2628f02..fa80be5 100644 --- a/init.el +++ b/init.el @@ -1,6 +1,3 @@ -(setq custom-file "~/.emacs.d/custom.el") -(load custom-file 'noerror) - (require 'package) (add-to-list 'package-archives @@ -14,6 +11,8 @@ (package-install package))) package-selected-packages) (require 'org) +(setq custom-file "~/.emacs.d/custom.el") +(load custom-file 'noerror) (org-babel-load-file (expand-file-name "settings.org" user-emacs-directory)) diff --git a/settings.org b/settings.org index 2fa1f37..a3390d2 100644 --- a/settings.org +++ b/settings.org @@ -9,11 +9,11 @@ ** Python *** Platform specific #+BEGIN_SRC emacs-lisp -(cond - ((string-equal system-type "gnu/linux") - (progn - (custom-set-variables python-shell-interpreter "python3") - ))) + (cond + ((string-equal system-type "gnu/linux") + "python3") + ((string-equal system-type "windows-nt") + "python.exe")) #+END_SRC *** custom feature *** bindings/settings @@ -36,5 +36,5 @@ ** Lispy #+BEGIN_SRC emacs-lisp (use-package lispy - :hook (emacs-lisp-mode)) + :hook ((emacs-lisp-mode) . lispy-mode)) #+END_SRC