Browse Source

added performance settings for windows

master
Marc Pohling 6 years ago
parent
commit
8cbf2501f4
1 changed files with 14 additions and 0 deletions
  1. 14
      config.org

14
config.org

@ -112,6 +112,20 @@
("work_hyperv" (add-to-list 'initial-frame-alist '(fullscreen . maximized)))))
#+END_SRC
* Windows specific stuff
** Performance
[[https://github.com/cbowdon/Config/blob/master/emacs/init.org][Got it from here]]
#+BEGIN_SRC emacs-lisp
(when (eq system-type 'windows-nt)
(if (>= emacs-major-version 25)
(remove-hook 'find-file-hooks 'vc-refresh-state)
(remove-hook 'find-file-hooks 'vc-find-file-hook))
(progn
(setq gc-cons-threshold (* 511 1024 1024)
gc-cons-percentage 0.5
garbage-collection-messages t)
(run-with-idle-timer 5 t #'garbage-collect)))
#+END_SRC
* Visuals
** Font
Don't add the font in the work environment, which I am logged in as POH

Loading…
Cancel
Save