mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-15 03:01:04 -07:00
fix: restore noninteractive init settings
Accidentally removed in8cafbe4, when it was supposed to be moved. Amend:8cafbe4408
This commit is contained in:
parent
1ee4a0a6ec
commit
7bc39f2c14
1 changed files with 11 additions and 0 deletions
11
lisp/doom.el
11
lisp/doom.el
|
|
@ -554,6 +554,17 @@ uses a straight or package.el command directly).")
|
|||
;;
|
||||
;;; Reasonable, global defaults
|
||||
|
||||
;;; CLI settings
|
||||
(when noninteractive
|
||||
;; Don't generate superfluous files when writing temp buffers.
|
||||
(setq make-backup-files nil)
|
||||
;; Stop user config from interfering with package management.
|
||||
(setq enable-dir-local-variables nil)
|
||||
;; Reduce ambiguity, embrace specificity, enjoy predictability.
|
||||
(setq case-fold-search nil)
|
||||
;; Don't clog the user's trash with our CLI refuse.
|
||||
(setq delete-by-moving-to-trash nil))
|
||||
|
||||
;;; Don't litter `doom-emacs-dir'/$HOME
|
||||
;; HACK: I change `user-emacs-directory' because many packages (even built-in
|
||||
;; ones) abuse it to build paths for storage/cache files (instead of correctly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue