summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2020-04-04 15:37:53 +0200
committerAlan Pearce2020-04-04 15:37:53 +0200
commit578f766eb3a9876d1a7403713f37ba731ba812d4 (patch)
tree6f9f4beca24e437f4a8a823361010f53a155f897 /user
parent7d828d3249f3282202468750d56947d4ed67ff77 (diff)
downloadnixfiles-578f766eb3a9876d1a7403713f37ba731ba812d4.tar.lz
nixfiles-578f766eb3a9876d1a7403713f37ba731ba812d4.tar.zst
nixfiles-578f766eb3a9876d1a7403713f37ba731ba812d4.zip
Emacs: make deletion of modified vc-backed files easier
crux-delete-file-and-buffer uses vc-delete-file, which aborts if the
file is not up to date in the VCS, which is oftun infuriating
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index f76a5017..250c1a14 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -977,7 +977,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
  "fs" #'save-buffer
  "ff" #'find-file
  "fw" #'write-file
- "fd" #'crux-delete-file-and-buffer
+ "fd" #'delete-file
  "fr" #'crux-rename-file-and-buffer
  "gs" #'magit-status
  "gm" #'git-messenger:popup-message