Emacs: slow-computer is in basics/global-variables.
This commit is contained in:
parent
c9b66392ab
commit
3bc8ad73ac
7
init.el
7
init.el
|
@ -1,6 +1,6 @@
|
||||||
;;; init.el --- tastytea's Emacs init file. -*- lexical-binding: t; -*-
|
;;; init.el --- tastytea's Emacs init file. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-02-26T23:30:13+0100>
|
;; Time-stamp: <2020-02-26T23:31:10+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and
|
;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and
|
||||||
|
@ -11,14 +11,15 @@
|
||||||
;; Add path to init files.
|
;; Add path to init files.
|
||||||
(push (concat user-emacs-directory "init.d") load-path)
|
(push (concat user-emacs-directory "init.d") load-path)
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
(require 'basics/global-variables)
|
||||||
|
|
||||||
;; Set garbage collection threshold to 100 MiB (or 20 MiB) to speed up init.
|
;; Set garbage collection threshold to 100 MiB (or 20 MiB) to speed up init.
|
||||||
;; It is reset at the end of the file.
|
;; It is reset at the end of the file.
|
||||||
(if slow-computer
|
(if slow-computer
|
||||||
(setq gc-cons-threshold (* 20 1024 1024))
|
(setq gc-cons-threshold (* 20 1024 1024))
|
||||||
(setq gc-cons-threshold (* 100 1024 1024)))
|
(setq gc-cons-threshold (* 100 1024 1024)))
|
||||||
|
|
||||||
(require 'basics/package-management)
|
|
||||||
(require 'basics/global-variables)
|
|
||||||
(require 'basics/misc)
|
(require 'basics/misc)
|
||||||
(require 'basics/input)
|
(require 'basics/input)
|
||||||
(require 'basics/buffers)
|
(require 'basics/buffers)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user