doom-force-kill-buffer => doom/kill-this-buffer-in-all-windows

This commit is contained in:
Henrik Lissner 2017-12-30 00:55:11 -05:00
parent 6279241ec3
commit f61d7c9e7f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 16 additions and 14 deletions

View file

@ -35,7 +35,7 @@ kills the buffer. If FORCE-P, force the deletion (don't ask for confirmation)."
(error "Failed to delete %s" short-path)
;; Ensures that windows displaying this buffer will be switched
;; to real buffers (`doom-real-buffer-p')
(doom-force-kill-buffer buf t)
(doom/kill-this-buffer-in-all-windows buf t)
(+evil--forget-file fname)
(message "Successfully deleted %s" short-path))))))))