46 lines
1.1 KiB
EmacsLisp
46 lines
1.1 KiB
EmacsLisp
;;; init.el --- tastytea's Emacs init file. -*- lexical-binding: t; -*-
|
|
|
|
;; Time-stamp: <2020-03-13T11:23:01+0100>
|
|
|
|
;;; Commentary:
|
|
;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and
|
|
;; above though.
|
|
|
|
;;; Code:
|
|
|
|
;; Set garbage collection threshold to 20 MiB to speed up init.
|
|
(setq gc-cons-threshold (* 20 1024 1024))
|
|
|
|
;; Add path to init files.
|
|
(push (concat user-emacs-directory "init.d") load-path)
|
|
|
|
(require 'basics/package-management)
|
|
(require 'basics/early-packages)
|
|
(require 'basics/global-variables)
|
|
(require 'basics/input)
|
|
(require 'basics/buffers)
|
|
(require 'basics/appearance)
|
|
(require 'basics/ui)
|
|
|
|
(require 'text/common)
|
|
(require 'text/latex)
|
|
(require 'text/tools)
|
|
(require 'text/web)
|
|
(require 'text/misc)
|
|
|
|
(require 'programming/common)
|
|
(require 'programming/lsp)
|
|
(require 'programming/git)
|
|
(require 'programming/c++)
|
|
(require 'programming/elisp)
|
|
(require 'programming/misc)
|
|
|
|
(require 'net/server)
|
|
(require 'net/client)
|
|
|
|
;; Set garbage collection threshold to original value.
|
|
(setq gc-cons-threshold (car (get 'gc-cons-threshold 'standard-value)))
|
|
|
|
(provide 'init)
|
|
;;; init.el ends here
|