summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 e2c057a..e8073d0 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)))