Emacs: Rearrange and update init.el.
This commit is contained in:
parent
ff5137289e
commit
e42937d9f2
17
init.el
17
init.el
|
@ -1,6 +1,6 @@
|
|||
;;; init.el --- tastytea's Emacs init file. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-02-20T01:42:02+0100>
|
||||
;; Time-stamp: <2020-02-26T23:16:56+0100>
|
||||
|
||||
;;; Commentary:
|
||||
;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and
|
||||
|
@ -9,15 +9,7 @@
|
|||
;;; Code:
|
||||
|
||||
;; Add path to init files.
|
||||
(push "~/.emacs.d/init.d" load-path)
|
||||
|
||||
(require 'basics/package-management)
|
||||
|
||||
;; ;; Benchmark for startup-file.
|
||||
;; (use-package benchmark-init
|
||||
;; :config
|
||||
;; ;; To disable collection of benchmark data after init is done.
|
||||
;; (add-hook 'after-init-hook 'benchmark-init/deactivate))
|
||||
(push (concat user-emacs-directory "init.d") load-path)
|
||||
|
||||
(require 'basics/global-variables)
|
||||
|
||||
|
@ -27,6 +19,7 @@
|
|||
(setq gc-cons-threshold (* 20 1024 1024))
|
||||
(setq gc-cons-threshold (* 100 1024 1024)))
|
||||
|
||||
(require 'basics/package-management)
|
||||
(require 'basics/misc)
|
||||
(require 'basics/input)
|
||||
(require 'basics/buffers)
|
||||
|
@ -40,10 +33,10 @@
|
|||
(require 'text/misc)
|
||||
|
||||
(require 'programming/common)
|
||||
(require 'programming/lsp)
|
||||
(require 'programming/git)
|
||||
(require 'programming/c++)
|
||||
(require 'programming/elisp)
|
||||
(require 'programming/git)
|
||||
(require 'programming/lsp)
|
||||
(require 'programming/misc)
|
||||
|
||||
(require 'net/server)
|
||||
|
|
Loading…
Reference in New Issue
Block a user