summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/main.el')
-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)))