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

51 lines
2.3 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"
2022-11-12 18:23:08 +01:00
browse-url-secondary-browser-function 'browse-url-firefox
ispell-dictionary "german"
2022-11-12 17:56:15 +01:00
ispell-program-name "hunspell")
2022-12-11 13:38:31 +01:00
(setq ispell-local-dictionary-alist
'(("german" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE_frami,de_AT_frami,de_CH_frami") nil utf-8)
("english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "en_US") nil utf-8))
ispell-hunspell-dictionary-alist ispell-local-dictionary-alist))
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/hunspell.exe"
;; mpv-executable "c:/msys64/mingw64/bin/mpv.exe"))
(setq custom-file "~/.emacs.d/bundle/custom_win32.el"
2022-11-12 18:23:08 +01:00
org-babel-python-command "python"
ispell-program-name "c:/msys64/mingw64/bin/hunspell.exe"
2022-12-12 12:12:58 +01:00
ispell-dictionary "german,english"
2022-11-12 18:23:08 +01:00
ispell-local-dictionary-alist
2022-11-13 10:12:40 +01:00
;; Copy de_DE_frami* files from ~/.emacs.d/dicts/ to c:/msys64/mingw64/share/dict/ooo/
2022-11-12 18:23:08 +01:00
'(("german" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE_frami") nil utf-8)
2022-12-12 12:12:58 +01:00
("english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "en_US") nil utf-8)
("german,english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "de_DE_frami,en_US") nil utf-8))
2022-11-12 18:23:08 +01:00
ispell-hunspell-dictionary-alist ispell-local-dictionary-alist)
(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)
2022-11-12 18:23:08 +01:00
(load-file feeds)))))
2020-07-26 14:36:43 +02:00
;; CUSTOM_FILE
(load custom-file :noerror)