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

41 lines
1.4 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")))
(when (directory-name-p "c:/msys64/")
(setq ispell-program-name "c:/msys64/mingw64/bin/aspell.exe"
mpv-executable "c:/msys64/mingw64/bin/mpv.exe"))
(setq custom-file "~/.emacs.d/bundle/custom_win32.el"
2022-05-06 19:31:15 +02:00
org-babel-python-command "python")
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")
2022-09-23 08:31:44 +02:00
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el")
(let ((feeds (expand-file-name "~/feeds.el")))
(if (file-exists-p feeds)
(load-file feeds))))
2021-05-04 22:26:55 +02:00
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)