Emacs: Reduce defer times to 2 and 4.

This commit is contained in:
tastytea 2020-04-18 03:12:10 +02:00
parent af97be2015
commit 16042f637e
3 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*- ;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-10T14:15:45+0200> ;; Time-stamp: <2020-04-18T03:09:23+0200>
;;; Commentary: ;;; Commentary:
;; * Setup scratch buffer. ;; * Setup scratch buffer.
@ -50,7 +50,7 @@
;; Delete old buffers. ;; Delete old buffers.
;; https://www.emacswiki.org/emacs/CleanBufferList ;; https://www.emacswiki.org/emacs/CleanBufferList
(use-package midnight (use-package midnight
:defer 10 :defer 4
:init (setq midnight-delay 30 ; 30 seconds after “midnight”. :init (setq midnight-delay 30 ; 30 seconds after “midnight”.
midnight-period (* 2 60 60)) ; Clean every 2 hours. midnight-period (* 2 60 60)) ; Clean every 2 hours.
:custom ((clean-buffer-list-delay-general 1) ; Clean normal bufs after 1d, :custom ((clean-buffer-list-delay-general 1) ; Clean normal bufs after 1d,

View File

@ -1,6 +1,6 @@
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*- ;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-03-18T14:56:59+0100> ;; Time-stamp: <2020-04-18T03:11:41+0200>
;;; Commentary: ;;; Commentary:
@ -13,7 +13,7 @@
(unless slow-computer (unless slow-computer
(use-package tramp (use-package tramp
:straight nil :straight nil
:defer 5 :defer 2
:custom :custom
(tramp-use-ssh-controlmaster-options nil) ; Don't override SSH config. (tramp-use-ssh-controlmaster-options nil) ; Don't override SSH config.
@ -44,7 +44,7 @@
(unless (equal (user-real-uid) 0) (unless (equal (user-real-uid) 0)
(unless (getenv "SSH_CONNECTION") (unless (getenv "SSH_CONNECTION")
(use-package server (use-package server
:defer 5 :defer 2
:functions (server-running-p) :functions (server-running-p)
:init :init
@ -61,7 +61,7 @@
;; Server for Firefox-extension that allows to use Emacs to edit textareas. ;; Server for Firefox-extension that allows to use Emacs to edit textareas.
;; https://addons.mozilla.org/en-US/firefox/addon/ghosttext/ ;; https://addons.mozilla.org/en-US/firefox/addon/ghosttext/
(use-package atomic-chrome (use-package atomic-chrome
:defer 5 :defer 2
:config :config
(atomic-chrome-start-server) (atomic-chrome-start-server)

View File

@ -1,6 +1,6 @@
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*- ;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-10T14:17:08+0200> ;; Time-stamp: <2020-04-18T03:09:42+0200>
;;; Commentary: ;;; Commentary:
@ -11,7 +11,7 @@
;; Git integration. ;; Git integration.
(use-package git-commit (use-package git-commit
:defer 5) :defer 2)
(unless slow-computer (unless slow-computer
(use-package magit (use-package magit