Move things to trash instead of permanently deleting
This commit is contained in:
parent
28406890a4
commit
7478afcde3
10
config.org
10
config.org
@ -1253,6 +1253,16 @@
|
|||||||
(setq backup-by-copying t)
|
(setq backup-by-copying t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Use trash
|
||||||
|
Commands like [[help:delete-file][delete-file]] and [[help:delete-directory][delete-directory]], as well as deletion
|
||||||
|
commands in Dired can be made to move things to trash, instead of
|
||||||
|
permanently deleting them. This done by setting the
|
||||||
|
[[help:delete-by-moving-to-trash][delete-by-moving-to-trash]] variable to ~t~.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq delete-by-moving-to-trash t)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Mail
|
* Mail
|
||||||
Using Mu4e. It requires =mu(1)= tool be set up already. The mu4e
|
Using Mu4e. It requires =mu(1)= tool be set up already. The mu4e
|
||||||
emacs package is bundled with the system package rather than
|
emacs package is bundled with the system package rather than
|
||||||
|
Loading…
x
Reference in New Issue
Block a user