From 8c6c7cdc4c5397d9704b168e93021248f57fdf77 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 10 Jul 2014 20:40:56 +0100 Subject: Emacs: Use system trash on OSX --- tag-emacs/emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tag-emacs') 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) -- cgit 1.4.1