summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-06-16 20:17:18 +0200
committerAlan Pearce2018-06-16 20:17:18 +0200
commit7f00ccbe79f5f65aea593fc2aa491e14a3fa40cd (patch)
tree29e6bc4c9e2face1bad0b52dddff25f9c24bfa1a /emacs
parentc72a3037fe988db5af5174535baf30e9b7ac395e (diff)
downloadnixfiles-7f00ccbe79f5f65aea593fc2aa491e14a3fa40cd.tar.lz
nixfiles-7f00ccbe79f5f65aea593fc2aa491e14a3fa40cd.tar.zst
nixfiles-7f00ccbe79f5f65aea593fc2aa491e14a3fa40cd.zip
emacs: Use crux function to delete buffer and file
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index e2c057a2..e8073d0d 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -724,7 +724,7 @@
   "Kill current buffer.  With prefix ARG, delete it."
   (interactive "P")
   (if (equal arg '(4))
-      (delete-current-buffer-file)
+      (crux-delete-file-and-buffer)
     (if server-buffer-clients
         (server-edit)
       (let ((buf (buffer-name)))