From e39b1273be0cebc53d25bc254f0de2b0449a1f13 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 18 Feb 2020 17:19:53 +0100 Subject: [PATCH] Emacs: Do not delay loading of programming modes. --- init.el | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/init.el b/init.el index 7885f77..d7506d5 100644 --- a/init.el +++ b/init.el @@ -1,6 +1,6 @@ ;;; init.el --- tastytea's Emacs init file. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-02-18T16:28:06+0100> +;; Time-stamp: <2020-02-18T17:19:45+0100> ;;; Commentary: ;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and @@ -39,15 +39,11 @@ (require 'text/web) (require 'text/misc) -;; Delay loading of programming modes. -(run-with-idle-timer 2 nil - (lambda () - (require 'programming/common) - (require 'programming/c++) - (require 'programming/git) - (require 'programming/lsp) - (require 'programming/misc) - )) +(require 'programming/common) +(require 'programming/c++) +(require 'programming/git) +(require 'programming/lsp) +(require 'programming/misc) (require 'net/server) (require 'net/client)