diff options
author | Alan Pearce | 2018-06-16 20:17:18 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-16 20:17:18 +0200 |
commit | 7f00ccbe79f5f65aea593fc2aa491e14a3fa40cd (patch) | |
tree | 29e6bc4c9e2face1bad0b52dddff25f9c24bfa1a /emacs | |
parent | c72a3037fe988db5af5174535baf30e9b7ac395e (diff) | |
download | nixfiles-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.el | 2 |
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))) |