all repos — nixfiles @ 578f766eb3a9876d1a7403713f37ba731ba812d4

System and user configuration, managed by nix and home-manager

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
Alan Pearce alan@alanpearce.eu
Sat, 04 Apr 2020 15:37:53 +0200
commit

578f766eb3a9876d1a7403713f37ba731ba812d4

parent

7d828d3249f3282202468750d56947d4ed67ff77

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -977,7 +977,7 @@ "dd" #'dired  "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