emacs: Use crux function to delete buffer and file
Alan Pearce alan@alanpearce.eu
Sat, 16 Jun 2018 20:17:18 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -724,7 +724,7 @@ (defun kill-or-delete-this-buffer-dwim (&optional arg) "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)))