about summary refs log tree commit diff
path: root/modules/workstation/emacs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-05-11 14:17:15 +0000
committerAlyssa Ross <hi@alyssa.is>2020-05-12 21:57:07 +0000
commit64f53247edcae2de3e711fdafdddb1b52a593a6e (patch)
tree08509efa8da8ec29af4af891e6541ab620dc4f66 /modules/workstation/emacs
parent9399b6e8636664d257aef964ae822507e1455851 (diff)
downloadnixlib-64f53247edcae2de3e711fdafdddb1b52a593a6e.tar
nixlib-64f53247edcae2de3e711fdafdddb1b52a593a6e.tar.gz
nixlib-64f53247edcae2de3e711fdafdddb1b52a593a6e.tar.bz2
nixlib-64f53247edcae2de3e711fdafdddb1b52a593a6e.tar.lz
nixlib-64f53247edcae2de3e711fdafdddb1b52a593a6e.tar.xz
nixlib-64f53247edcae2de3e711fdafdddb1b52a593a6e.tar.zst
nixlib-64f53247edcae2de3e711fdafdddb1b52a593a6e.zip
modules/emacs: stop Magit trying to move to trash
It's weird that Magit doesn't default to the global value of this
setting (which is nil).  If I want to enable the trash, I'm probably
going to want to enable it globally, so Magit will now use the global
value.
Diffstat (limited to 'modules/workstation/emacs')
-rw-r--r--modules/workstation/emacs/default.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/workstation/emacs/default.el b/modules/workstation/emacs/default.el
index 00c9caf123eb..87afef2dcc75 100644
--- a/modules/workstation/emacs/default.el
+++ b/modules/workstation/emacs/default.el
@@ -18,3 +18,6 @@
 ;; System locale is Esperanto, but I write in English much more, and
 ;; spelling in Esperanto is easy anyway. ;)
 (setq ispell-dictionary "english")
+
+;;; Magit ;;;
+(setq magit-delete-by-moving-to-trash delete-by-moving-to-trash)