From 2d10f6f06ff55e25da0ec8e17363e3b29e5068a1 Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Fri, 28 Jun 2019 23:56:07 +0300 Subject: [PATCH] Set large file threshold --- 01mac.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/01mac.el b/01mac.el index fe0bb1a..74feaee 100644 --- a/01mac.el +++ b/01mac.el @@ -105,6 +105,9 @@ ;; Enable y/n answers to questions (fset 'yes-or-no-p 'y-or-n-p) +;; Only warn if a file is bigger than 50 MB when trying to open it +(setq large-file-warning-threshold 50000000) + ;;;;;;;;;;;;;;;;;;;;;; Shell stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)