emacs.d/bundle/bundle--customfile.el

46 lines
1.8 KiB
EmacsLisp
Raw Normal View History

2020-07-26 14:36:43 +02:00
;; OS SETTINGS
(when (eq system-type 'gnu/linux)
2020-11-25 21:26:37 +01:00
(setq custom-file "~/.emacs.d/bundle/custom_gnu.el"
org-directory "~/Documents/journal/"
org-agenda-files '("~/Documents/journal/")
org-default-notes-file "notes.org"
2020-12-02 08:13:53 +01:00
org-babel-python-command "python3"
2020-11-25 21:26:37 +01:00
browse-url-secondary-browser-function 'browse-url-firefox
2020-11-30 21:57:39 +01:00
python-shell-interpreter "ipython"
2020-12-02 17:23:04 +01:00
python-shell-interpreter-args "--simple-prompt -i")
(add-to-list 'Info-default-directory-list "~/Documents/info/"))
2020-07-26 14:36:43 +02:00
2020-07-26 14:36:43 +02:00
(when (eq system-type 'windows-nt)
(setq custom-file "~/.emacs.d/bundle/custom_win32.el")
(add-to-list 'load-path (expand-file-name "~/AppData/Roaming/__secrets"))
2020-11-28 14:58:47 +01:00
(setq sbcl-exe (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\2.0.0\\sbcl.exe")
sbcl-core (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\2.0.0\\sbcl.core")
inferior-lisp-program "sbcl"
2020-12-09 10:44:16 +01:00
slime-lisp-implementations `((sbcl (,sbcl-exe "--core" ,sbcl-core)))
python-shell-interpreter "ipython"
python-shell-interpreter-args "--simple-prompt -i")
2020-11-25 21:26:37 +01:00
2020-07-26 14:36:43 +02:00
(when (string= (system-name) "EVG02667NB")
2020-11-28 14:58:47 +01:00
(cd "d:/opt")
2020-07-26 14:36:43 +02:00
(add-to-list 'Info-default-directory-list "~/Info")
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el")
(setq plantuml-jar-path "c:/Users/Marcus.Kammer/AppData/Local/Programs/plantuml/plantuml.jar")
(setq plantuml-default-exec-mode 'jar))
2020-11-25 09:35:40 +01:00
(defun powershell (&optional buffer)
"Launches a powershell in buffer *powershell* and switches to it."
(interactive)
(let ((buffer (or buffer "*powershell*"))
(powershell-prog "C:\\Program Files\\PowerShell\\7\\pwsh.exe"))
(make-comint-in-buffer "shell" "*powershell*" powershell-prog)
(switch-to-buffer buffer)))
2020-07-26 14:36:43 +02:00
(when (string= (system-name) "XPS-8930")))
;; CUSTOM_FILE
(load custom-file :noerror)