Remove Windows-specific compilation settings

These are now included in my global configuration.
This commit is contained in:
Tom Willemse 2018-07-09 18:41:28 -07:00
parent d5a65ee24f
commit a2227eb50a

View file

@ -45,12 +45,6 @@
(when ivy-enabled (when ivy-enabled
(ivy-mode 1))))) (ivy-mode 1)))))
(defun oni-windows-nt--compilation-finish-notify-function (buffer status)
(when (string= (buffer-name buffer) "*compilation*")
(if (string= (string-trim status) "finished")
(alert "Compilation finished succesfully")
(alert "Compilation finished with an error"))))
(add-to-list 'load-path (locate-user-emacs-file "vendor/p4-vc")) (add-to-list 'load-path (locate-user-emacs-file "vendor/p4-vc"))
(add-to-list 'exec-path "c:/Program Files/Git/bin") (add-to-list 'exec-path "c:/Program Files/Git/bin")
(add-to-list 'exec-path "C:/Program Files/Git/usr/bin") (add-to-list 'exec-path "C:/Program Files/Git/usr/bin")
@ -62,7 +56,7 @@
(setq grep-use-null-device nil) (setq grep-use-null-device nil)
(setq buffer-file-coding-system 'utf-8-unix) (setq-default buffer-file-coding-system 'utf-8-unix)
(let ((exe (shell-quote-argument "c:/cygwin64/bin/ls.exe"))) (let ((exe (shell-quote-argument "c:/cygwin64/bin/ls.exe")))
(setq find-ls-option (setq find-ls-option
@ -74,13 +68,16 @@
(setq alert-toaster-command "U:/projects/toaster/toast/bin/Release/toast.exe") (setq alert-toaster-command "U:/projects/toaster/toast/bin/Release/toast.exe")
(setq alert-toaster-default-icon "c:/Users/WillemsenT/Emacs-25.1-2/share/emacs/25.1/etc/images/icons/hicolor/48x48/apps/emacs.png")) (setq alert-toaster-default-icon "c:/Users/WillemsenT/Emacs-25.1-2/share/emacs/25.1/etc/images/icons/hicolor/48x48/apps/emacs.png"))
(add-hook 'compilation-finish-functions #'oni-windows-nt--compilation-finish-notify-function)
(with-eval-after-load 'grep (with-eval-after-load 'grep
(add-function :around (symbol-function 'grep-read-files) #'oni-windows-nt--disable-ivy)) (add-function :around (symbol-function 'grep-read-files) #'oni-windows-nt--disable-ivy))
(with-eval-after-load 'magit (with-eval-after-load 'magit
(setq magit-git-executable "c:/msys64/usr/bin/git.exe")) (setq magit-git-executable "c:/msys64/usr/bin/git.exe"))
(with-eval-after-load 'vc
(require 'vc-p4))
(server-mode)
(provide 'oni-windows-nt) (provide 'oni-windows-nt)
;;; oni-windows-nt.el ends here ;;; oni-windows-nt.el ends here