Less gc tuning + use Hack font

This commit is contained in:
Henrik Lissner 2015-11-30 05:33:25 -05:00
parent 7a0d0c8cd0
commit dd067002ae
2 changed files with 6 additions and 8 deletions

View File

@ -152,9 +152,7 @@
(require 'server)
(unless (server-running-p)
(server-start))
(add-hook! after-init (setq gc-cons-threshold 850000)))
(server-start)))
(provide 'core)
;;; core.el ends here

View File

@ -40,14 +40,14 @@
;;
;;; License: GPLv3
(setq gc-cons-threshold 169715200)
(defconst narf-theme 'narf-dark)
(defconst narf-default-font (font-spec :family "DejaVu Sans Mono" :size 12))
(defconst narf-default-font (font-spec :family "Hack" :size 12))
(defconst narf-writing-font (font-spec :family "Hack" :size 14))
(defconst narf-big-font (font-spec :family "Inconsolata" :size 20))
;; prematurely optimize for faster startup
(let (file-name-handler-alist)
(let (file-name-handler-alist
(gc-cons-threshold 169715200))
(scroll-bar-mode -1) ; no scrollbar
(tool-bar-mode -1) ; no toolbar