2019-10-14 17:38:14 +02:00
|
|
|
;;; init.el --- tastytea's Emacs init file. -*- lexical-binding: t; -*-
|
|
|
|
|
2020-06-02 15:18:03 +02:00
|
|
|
;; Time-stamp: <2020-06-02T15:07:00+0200>
|
2019-03-19 20:49:29 +01:00
|
|
|
|
2019-03-19 00:12:11 +01:00
|
|
|
;;; Commentary:
|
2020-03-27 21:26:25 +01:00
|
|
|
;; Requires at least Emacs 26.
|
2019-03-19 20:49:29 +01:00
|
|
|
|
2019-03-19 00:12:11 +01:00
|
|
|
;;; Code:
|
|
|
|
|
2020-03-15 23:38:06 +01:00
|
|
|
;; early-init.el is automatically loaded in Emacs 27+.
|
|
|
|
(when (< emacs-major-version 27)
|
|
|
|
(require 'early-init (expand-file-name "early-init.el" user-emacs-directory)))
|
|
|
|
|
|
|
|
(customize-set-variable
|
|
|
|
'gc-cons-threshold (* 20 1024 1024)
|
|
|
|
"Set garbage collection threshold to 20 MiB to speed up init.")
|
2020-03-10 14:33:47 +01:00
|
|
|
|
2019-10-14 17:38:14 +02:00
|
|
|
;; Add path to init files.
|
2020-03-18 12:16:08 +01:00
|
|
|
(push (expand-file-name "init.d" user-emacs-directory) load-path)
|
2019-03-19 00:12:11 +01:00
|
|
|
|
2020-02-26 23:31:33 +01:00
|
|
|
(require 'basics/package-management)
|
2020-03-13 11:18:30 +01:00
|
|
|
(require 'basics/early-packages)
|
2020-02-26 23:31:33 +01:00
|
|
|
(require 'basics/global-variables)
|
2019-10-14 17:38:14 +02:00
|
|
|
(require 'basics/input)
|
|
|
|
(require 'basics/buffers)
|
|
|
|
(require 'basics/appearance)
|
|
|
|
(require 'basics/ui)
|
2019-10-13 12:25:40 +02:00
|
|
|
|
2019-10-14 17:38:14 +02:00
|
|
|
(require 'text/common)
|
|
|
|
(require 'text/latex)
|
|
|
|
(require 'text/web)
|
|
|
|
(require 'text/misc)
|
2019-03-19 00:12:11 +01:00
|
|
|
|
2020-03-27 21:26:25 +01:00
|
|
|
(require 'misc/documentation)
|
2020-03-28 02:09:04 +01:00
|
|
|
(require 'misc/email)
|
2020-05-29 17:22:31 +02:00
|
|
|
(require 'misc/misc)
|
2020-06-02 15:18:03 +02:00
|
|
|
(require 'misc/libs)
|
2020-03-27 21:26:25 +01:00
|
|
|
|
2020-02-18 17:19:53 +01:00
|
|
|
(require 'programming/common)
|
2020-02-26 23:17:44 +01:00
|
|
|
(require 'programming/lsp)
|
|
|
|
(require 'programming/git)
|
2020-02-18 17:19:53 +01:00
|
|
|
(require 'programming/c++)
|
2020-02-20 02:43:03 +01:00
|
|
|
(require 'programming/elisp)
|
2020-02-18 17:19:53 +01:00
|
|
|
(require 'programming/misc)
|
2019-05-05 15:56:38 +02:00
|
|
|
|
2019-11-04 20:42:06 +01:00
|
|
|
(require 'net/server)
|
2019-11-04 21:10:34 +01:00
|
|
|
(require 'net/client)
|
2019-03-19 00:12:11 +01:00
|
|
|
|
2020-03-15 23:38:06 +01:00
|
|
|
(customize-set-variable 'gc-cons-threshold
|
|
|
|
(car (get 'gc-cons-threshold 'standard-value))
|
|
|
|
"Set garbage collection threshold to original value.")
|
2019-03-22 04:08:47 +01:00
|
|
|
|
2019-03-19 00:55:01 +01:00
|
|
|
(provide 'init)
|
2019-03-22 09:53:31 +01:00
|
|
|
;;; init.el ends here
|