doom/cleanup-processes => doom/cleanup-buffer-processes
This commit is contained in:
parent
f064c5d1ae
commit
326763ab3d
1 changed files with 2 additions and 2 deletions
|
@ -244,7 +244,7 @@ ALL-P (universal argument), clean them up globally."
|
|||
(let ((buffers (doom-buried-buffers buffer-list))
|
||||
(n 0))
|
||||
(mapc #'kill-buffer buffers)
|
||||
(setq n (+ n (length buffers) (doom/cleanup-processes)))
|
||||
(setq n (+ n (length buffers) (doom/cleanup-buffer-processes)))
|
||||
(dolist (hook doom-cleanup-hook)
|
||||
(let ((m (funcall hook)))
|
||||
(when (integerp m)
|
||||
|
@ -253,7 +253,7 @@ ALL-P (universal argument), clean them up globally."
|
|||
n))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/cleanup-processes ()
|
||||
(defun doom/cleanup-buffer-processes ()
|
||||
"Kill all processes that have no visible associated buffers. Return number of
|
||||
processes killed."
|
||||
(interactive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue