From f6880dcd108cf865dcd63627af740935dbeebf8a Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Tue, 3 Dec 2019 15:54:01 +0100 Subject: [PATCH] added stuff for windows-nt --- init.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/init.org b/init.org index 580e58e..487d98f 100644 --- a/init.org +++ b/init.org @@ -114,6 +114,19 @@ (tool-bar-mode 0) ;; disable tool bar (scroll-bar-mode 0) ;; disable scroll bar #+END_SRC + +Some windows specific stuff +#+BEGIN_SRC emacs-lisp + (when (eq system-type 'windows-nt) + (remove-hook 'find-file-hooks 'vc-refresh-state) + (progn + (setq gc-cons-threshold (* 511 1024 1024) + gc-cons-percentage 0.5 + garbage-collection-messages t + w32-pipe-read-delay 0 + w32-get-true-file-attributes nil) + (run-with-idle-timer 5 t #'garbage-collect))) +#+END_SRC * visuals ** Font #+BEGIN_SRC emacs-lisp