Tidy up early init and reset gc threshold after start
This commit is contained in:
parent
0e725f9b4f
commit
c5c0523606
2 changed files with 8 additions and 6 deletions
|
|
@ -1,7 +1,9 @@
|
|||
;; early-init.el --- -*- no-byte-compile: t -*-
|
||||
|
||||
(setq gc-cons-threshold 100000000)
|
||||
(setq read-process-output-max (* 4 1024 1024))
|
||||
(add-hook 'emacs-startup-hook
|
||||
(lambda ()
|
||||
(setq gc-cons-threshold 50000000)))
|
||||
|
||||
(setq byte-compile-warnings '(not obsolete))
|
||||
(setq warning-suppress-log-types '((comp) (bytecomp)))
|
||||
|
|
@ -11,11 +13,9 @@
|
|||
(customize-set-variable 'load-prefer-newer t)
|
||||
|
||||
(setq frame-inhibit-implied-resize t
|
||||
frame-resize-pixelwise t
|
||||
display-time-default-load-average nil)
|
||||
frame-resize-pixelwise t)
|
||||
|
||||
(setq inhibit-startup-message t)
|
||||
(setq initial-scratch-message nil)
|
||||
|
||||
(push '(tool-bar-lines . 0) default-frame-alist)
|
||||
(push '(menu-bar-lines . 0) default-frame-alist)
|
||||
|
|
@ -26,5 +26,3 @@
|
|||
(menu-bar-mode -1)
|
||||
|
||||
(add-to-list 'default-frame-alist '(undecorated . t))
|
||||
|
||||
(customize-set-variable 'initial-major-mode 'emacs-lisp-mode)
|
||||
|
|
|
|||
|
|
@ -224,12 +224,15 @@
|
|||
backup-directory-alist `((".*" . ,temporary-file-directory))
|
||||
create-lockfiles nil
|
||||
delete-by-moving-to-trash t
|
||||
display-time-default-load-average nil
|
||||
echo-keystrokes 0.1
|
||||
enable-recursive-minibuffers t
|
||||
fast-but-imprecise-scrolling t
|
||||
help-window-select t
|
||||
highlight-nonselected-windows nil
|
||||
history-delete-duplicates t
|
||||
initial-major-mode 'emacs-lisp-mode
|
||||
initial-scratch-message nil
|
||||
isearch-allow-motion t
|
||||
isearch-lazy-count t
|
||||
kill-do-not-save-duplicates t
|
||||
|
|
@ -265,6 +268,7 @@
|
|||
global-auto-revert-non-file-buffers t
|
||||
locale-coding-system 'utf-8
|
||||
ns-use-proxy-icon nil
|
||||
read-process-output-max (* 4 1024 1024)
|
||||
redisplay-skip-fontification-on-input t
|
||||
truncate-string-ellipsis "..."
|
||||
bidi-inhibit-bpa t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue