   (interactive "<!>")
   (narf:kill-buried-buffers)
   (mapc 'kill-buffer
-        (narf/get-buried-buffers (if bang (projectile-project-buffers) (buffer-list)))))
+        (narf/get-buried-buffers (if bang (projectile-project-buffers) (narf/get-buffers)))))
 
 ;;;###autoload (autoload 'narf:kill-all-buffers "defuns-buffers" nil t)
 (evil-define-command narf:kill-all-buffers (&optional bang)

                              (string-match-p it (buffer-name buffer))
                            (eq (buffer-local-value 'major-mode buffer) it))
                          narf-unreal-buffers)))
            (or buffer-list (buffer-list))))

;;;###autoload
(defun narf:kill-unreal-buffers ()
  "Kill all buried, unreal buffers in current frame. See `narf-unreal-buffers'"
  (interactive)
  (let* ((real-buffers (narf/get-real-buffers))
         (kill-list (--filter (not (memq it real-buffers)) (narf/get-buried-buffers))))
    (message "Cleaned up %s buffers" (length kill-list))
    (mapc 'kill-buffer kill-list)
    (narf:kill-process-buffers)))

                     (eq (buffer-local-value 'major-mode buffer) it))
                   narf-unreal-buffers)))))

;; Inspired by spacemacs <https://github.com/syl20bnr/spacemacs/blob/master/spacemacs/funcs.el>
;;;###autoload
(defun narf/next-real-buffer ()
  "Switch to the next buffer and avoid special buffers."
