General cleanup + refactor

This commit is contained in:
Henrik Lissner 2017-03-04 20:54:13 -05:00
parent 2e70c746ed
commit d6667a433f
8 changed files with 34 additions and 39 deletions

View file

@ -141,7 +141,7 @@ popup window/buffer and b) isn't a special buffer."
;;;###autoload
(defun doom-kill-buffer (&optional buffer dont-save)
"Kill BUFFER (falls back to current buffer if omitted) then switch to a real
buffer, but buries the buffer if it is present in another window.
buffer, but only bury the buffer if it is present in another window.
See `doom-real-buffer-p' for what 'real' means."
(let* ((buffer (or buffer (current-buffer)))