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

42 lines
1.6 KiB
EmacsLisp
Raw Normal View History

2020-07-26 14:36:43 +02:00
;; OS SETTINGS
(when (eq system-type 'gnu/linux)
(load "bundle--email")
2020-11-25 21:26:37 +01:00
(setq custom-file "~/.emacs.d/bundle/custom_gnu.el"
2021-08-29 17:41:43 +02:00
browse-url-secondary-browser-function 'browse-url-firefox))
2020-07-26 14:36:43 +02:00
(when (eq system-type 'windows-nt)
2022-04-12 14:39:25 +02:00
;; (add-to-list 'exec-path "C:/msys64/mingw64/bin")
;; (add-to-list 'exec-path "C:/msys64/usr/bin")
;; (setenv "PATH" (concat "C:\\msys64\\mingw64\\bin;" (getenv "PATH")))
(setq sql-sqlite-program "c:/msys64/mingw64/bin/sqlite3.exe"
ispell-program-name "c:/msys64/mingw64/bin/aspell.exe"
nov-unzip-program "c:/msys64/usr/bin/unzip.exe"
custom-file "~/.emacs.d/bundle/custom_win32.el"
org-babel-python-command "python"
2022-05-02 17:01:42 +02:00
geiser-racket-binary "c:/Program Files/Racket/Racket.exe"
sbcl-exe (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\sbcl.exe")
2021-10-07 11:49:45 +02:00
sbcl-core (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\sbcl.core")
inferior-lisp-program "sbcl"
2021-02-02 13:20:32 +01:00
slime-lisp-implementations `((sbcl (,sbcl-exe "--core" ,sbcl-core))))
2020-11-25 21:26:37 +01:00
(use-package powershell)
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)))
2021-05-04 22:26:55 +02:00
(when (string= (system-name) "EVG02667NB")
(cd "d:/opt")
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el"))
2021-08-24 17:43:34 +02:00
(when (string= (system-name) "XPS-8930")
2021-12-03 19:56:34 +01:00
(cd "d:/visua/sync/Documents/")))
2020-07-26 14:36:43 +02:00
;; CUSTOM_FILE
(load custom-file :noerror)