delete-by-moving-to-trash = t on macOS
This commit is contained in:
parent
27599f308d
commit
9c594d3f42
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue