General, minor refactor & revision
Across the board. All the boards.
This commit is contained in:
parent
02caf4eeac
commit
44363cae40
8 changed files with 12 additions and 14 deletions
|
@ -51,7 +51,7 @@ for confirmation to open it literally (read-only, disabled undo and in
|
|||
fundamental-mode) for performance sake."
|
||||
(when (and (not (memq major-mode doom-large-file-modes-list))
|
||||
auto-mode-alist
|
||||
(get-buffer-window (current-buffer)))
|
||||
(get-buffer-window))
|
||||
(when-let* ((size (nth 7 (file-attributes buffer-file-name))))
|
||||
(when (and (> size (* 1024 1024 doom-large-file-size))
|
||||
(y-or-n-p
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue