Browse Source

Use system trash

master
10sr 6 years ago
parent
commit
3ac86fc837
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el View File

@@ -687,8 +687,8 @@ found, otherwise returns nil."
(setq delete-auto-save-files t) (setq delete-auto-save-files t)


(add-to-list 'completion-ignored-extensions ".bak") (add-to-list 'completion-ignored-extensions ".bak")
(setq delete-by-moving-to-trash t
trash-directory "~/.emacs.d/trash")
(setq delete-by-moving-to-trash t)
;; trash-directory "~/.emacs.d/trash")


(add-hook 'after-save-hook (add-hook 'after-save-hook
'executable-make-buffer-file-executable-if-script-p) 'executable-make-buffer-file-executable-if-script-p)


Loading…
Cancel
Save