feature/workspaces: kill buffers when killing workspace
This commit is contained in:
parent
24604d5495
commit
4b63d79f68
1 changed files with 2 additions and 2 deletions
|
@ -112,13 +112,13 @@ success, nil otherwise."
|
|||
(persp-rename new-name (+workspace-get name)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +workspace-delete (name)
|
||||
(defun +workspace-delete (name &optional inhibit-kill-p)
|
||||
"Delete the workspace denoted by TARGET, which can be the name of a
|
||||
perspective or its hash table."
|
||||
(when (equal name persp-nil-name)
|
||||
(error "Can't delete main workspace"))
|
||||
(+workspace-get name) ;; error checking
|
||||
(persp-remove-by-name name))
|
||||
(persp-kill name inhibit-kill-p))
|
||||
|
||||
;;;###autoload
|
||||
(defun +workspace-switch (name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue