mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(macos): move files/folders to trash instead of deleting them on macOS
Use the osx-trash package to enable emacs' built-in trash support, which seems to explicitly lack macOS support.
This commit is contained in:
@@ -51,7 +51,9 @@
|
||||
(auto-fill-mode))
|
||||
|
||||
:config
|
||||
(require 'magit))
|
||||
(require 'magit)
|
||||
(when (fboundp 'system-move-file-to-trash)
|
||||
(setq magit-delete-by-moving-to-trash t)))
|
||||
|
||||
(use-package transient
|
||||
:defer t
|
||||
|
||||
Reference in New Issue
Block a user