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
|
@ -80,7 +80,7 @@
|
|||
(sym (symbol-at-point))
|
||||
(setting
|
||||
(completing-read
|
||||
"Describe setting: "
|
||||
"Describe setter: "
|
||||
;; TODO Could be cleaner (refactor me!)
|
||||
(cl-loop with maxwidth = (apply #'max (mapcar #'length (mapcar #'symbol-name settings)))
|
||||
for def in (sort settings #'string-lessp)
|
||||
|
|
|
@ -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