Emacs: Use system trash on OSX
Alan Pearce alan@alanpearce.co.uk
Thu, 10 Jul 2014 20:40:56 +0100
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -286,6 +286,9 @@ (prefer-coding-system 'utf-8-auto-unix) (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)