Browse Source

added stuff for windows-nt

master
Marc Pohling 4 years ago
parent
commit
f6880dcd10
1 changed files with 13 additions and 0 deletions
  1. 13
      init.org

13
init.org

@ -114,6 +114,19 @@
(tool-bar-mode 0) ;; disable tool bar (tool-bar-mode 0) ;; disable tool bar
(scroll-bar-mode 0) ;; disable scroll bar (scroll-bar-mode 0) ;; disable scroll bar
#+END_SRC #+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 * visuals
** Font ** Font
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp

Loading…
Cancel
Save