diff options
author | Alan Pearce | 2014-07-10 20:40:56 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-10 20:40:56 +0100 |
commit | 8c6c7cdc4c5397d9704b168e93021248f57fdf77 (patch) | |
tree | 27344a6d2b5a831b2e6cc7012ffea5b6dc960982 | |
parent | ed18ff39c95c842e8ea465610f5d06e3c5f700be (diff) | |
download | dotfiles-8c6c7cdc4c5397d9704b168e93021248f57fdf77.tar.lz dotfiles-8c6c7cdc4c5397d9704b168e93021248f57fdf77.tar.zst dotfiles-8c6c7cdc4c5397d9704b168e93021248f57fdf77.zip |
Emacs: Use system trash on OSX
-rw-r--r-- | tag-emacs/emacs.d/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index a5649fb..35d63f9 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -286,6 +286,9 @@ (set-default-coding-systems 'utf-8-auto-unix) (setq-default buffer-file-coding-system 'utf-8-auto-unix) (setq create-lockfiles nil) +(if (eq system-type 'darwin) + (setq delete-by-moving-to-trash t)) + (req-package autorevert :init (progn (global-auto-revert-mode 1) |