summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2014-07-10 20:40:56 +0100
committerAlan Pearce2014-07-10 20:40:56 +0100
commit8c6c7cdc4c5397d9704b168e93021248f57fdf77 (patch)
tree27344a6d2b5a831b2e6cc7012ffea5b6dc960982 /tag-emacs/emacs.d
parented18ff39c95c842e8ea465610f5d06e3c5f700be (diff)
downloaddotfiles-8c6c7cdc4c5397d9704b168e93021248f57fdf77.tar.lz
dotfiles-8c6c7cdc4c5397d9704b168e93021248f57fdf77.tar.zst
dotfiles-8c6c7cdc4c5397d9704b168e93021248f57fdf77.zip
Emacs: Use system trash on OSX
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.el3
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)