 
 ;;;###autoload
 (defun doom/kill-all-buffers (&optional project-p)
-  "Kill all buffers.
-
-If PROJECT-P, kill all buffers that belong to the current project."
+  "Kill all buffers and closes their windows.
+
+If PROJECT-P (universal argument), kill only buffers that belong to the current
+project."
   (interactive "P")
   (doom/popup-close-all t)
   (let ((buffers (if project-p (doom-project-buffer-list) (doom-buffer-list))))


;;;###autoload
(defun doom/kill-other-buffers (&optional project-p)
  "Kill all other buffers.

If PROJECT-P (universal argument), kill only the other buffers that belong to
the current project."
  (interactive "P")
  (let ((buffers (if project-p (doom-project-buffer-list) (doom-buffer-list)))
        (current-buffer (current-buffer)))


;;;###autoload
(defun doom/next-buffer ()
  "Switch to the next real buffer, skipping non-real buffers. See
`doom-real-buffer-p' for what 'real' means."
  (interactive)
  (doom--cycle-real-buffers +1))

;;;###autoload
(defun doom/previous-buffer ()
  "Switch to the previous real buffer, skipping non-real buffers. See
`doom-real-buffer-p' for what 'real' means."
  (interactive)
  (doom--cycle-real-buffers -1))
