Remove unused code

This commit is contained in:
Marcus Kammer 2023-10-03 09:56:20 +02:00
parent 48f736b56b
commit 3e6bb18034

22
init.el
View file

@ -217,31 +217,11 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
;; OS SETTINGS
(when (eq system-type 'gnu/linux)
(setq custom-file "~/.emacs.d/bundle/custom_gnu.el"
browse-url-secondary-browser-function 'browse-url-firefox)
;; (setq ispell-hunspell-dict-paths-alist
;; '(("de_DE_frami" "~/Library/Spelling/de_DE_frami.aff")
;; ("en_US" "/usr/share/hunspell/en_US.aff")))
)
browse-url-secondary-browser-function 'browse-url-firefox))
(when (eq system-type 'windows-nt)
;; (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")
(setq org-babel-python-command "python")
;; (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)))
(when (string= (system-name) "EVG02667NB")
(cd "d:/opt")
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el")))