瀏覽代碼

Enable delete-by-moving-to-trash

master
10sr 6 年之前
父節點
當前提交
b61798392f
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el 查看文件

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

(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
'executable-make-buffer-file-executable-if-script-p)


Loading…
取消
儲存