2019-11-14 13:00:42 +01:00
|
|
|
(defun evo-load-paths ()
|
|
|
|
(unless (file-directory-p (expand-file-name "~/Documents"))
|
2019-11-17 11:15:18 +01:00
|
|
|
(defvar *docs-path* (getenv "DOCS_PATH"))))
|
2019-11-14 13:00:42 +01:00
|
|
|
|
2019-11-14 10:23:03 +01:00
|
|
|
(when (eq system-type 'darwin)
|
|
|
|
(when (display-graphic-p)
|
|
|
|
(add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
|
|
|
|
(add-to-list 'default-frame-alist '(ns-appearance . dark))))
|
|
|
|
|
|
|
|
(when (eq system-type 'windows-nt)
|
|
|
|
(setq python-shell-interpreter "python")
|
|
|
|
(add-to-list 'load-path (expand-file-name "~/AppData/Roaming/__secrets"))
|
|
|
|
(cd "~/opt")
|
|
|
|
(when (string= (system-name) "EVG02667NB")
|
2019-11-15 08:00:54 +01:00
|
|
|
(evo-load-paths))
|
2020-02-14 18:45:33 +01:00
|
|
|
(when (string= (system-name) "XPS-8930")))
|
2019-11-14 10:23:03 +01:00
|
|
|
|
|
|
|
(when (eq system-type 'gnu/linux)
|
2019-11-19 18:26:15 +01:00
|
|
|
(setq x-select-enable-clipboard t
|
|
|
|
x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)
|
|
|
|
x-select-enable-primary t
|
|
|
|
undo-tree-enable-undo-in-region nil
|
|
|
|
slime-lisp-implementations '((sbcl ("/usr/bin/sbcl")))
|
2020-02-09 09:52:53 +01:00
|
|
|
gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"
|
|
|
|
elpy-rpc-python-command "python3")
|
2019-11-14 10:23:03 +01:00
|
|
|
(when (string= (system-name) "XPS-13-9380")))
|
2019-11-14 13:00:42 +01:00
|
|
|
|
2020-03-09 08:43:32 +01:00
|
|
|
|
2019-11-14 10:23:03 +01:00
|
|
|
(provide 'os)
|
2020-02-15 15:21:26 +01:00
|
|
|
|
|
|
|
;; Local Variables:
|
|
|
|
;; mode: emacs-lisp
|
|
|
|
;; coding: utf-8
|
|
|
|
;; fill-column: 79
|
|
|
|
;; lisp-indent-offset: 2
|
|
|
|
;; End:
|