From 48f7d33c038c5fcb97e9303f0784b52c0316477d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 3 Oct 2018 15:08:25 -0400 Subject: [PATCH] Don't doom|check-large-file on tags files Fixes an issue where reading TAGS files could cause "%s is a large file, open literally to avoid performance issues?" prompts every time you open a project file, if the tags file was larger than `doom-large-file-size' --- core/core-editor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-editor.el b/core/core-editor.el index a101d000d..77d1d5bc3 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -8,7 +8,7 @@ modes are active and the buffer is read-only.") (defvar doom-large-file-modes-list '(fundamental-mode special-mode archive-mode tar-mode jka-compr git-commit-mode image-mode doc-view-mode doc-view-mode-maybe - ebrowse-tree-mode pdf-view-mode) + ebrowse-tree-mode pdf-view-mode tags-table-mode) "Major modes that `doom|check-large-file' will ignore.") (defvar-local doom-inhibit-indent-detection nil