delete-by-moving-to-trash = t on macOS

This commit is contained in:
Henrik Lissner 2020-01-09 19:18:13 -05:00
parent 27599f308d
commit 9c594d3f42
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -265,6 +265,10 @@ users).")
(unless IS-MAC (setq command-line-ns-option-alist nil))
(unless IS-LINUX (setq command-line-x-option-alist nil))
;; Delete files to trash on macOS, as an extra layer of precaution against
;; accidentally deleting wanted files.
(setq delete-by-moving-to-trash IS-MAC)
;; Adopt a sneaky garbage collection strategy of waiting until idle time to
;; collect; staving off the collector while the user is working.
(when doom-interactive-mode