refactor(workspaces): +workspace/delete: rename to +workspace/kill

To be more consistent with other uses of the verb in the Emacs
ecosystem. Also done in preparation for a new +workspaces/delete command
for #7869.

Ref: #7869
This commit is contained in:
Henrik Lissner 2024-07-05 16:59:41 -04:00
parent 934141a01e
commit 5289861109
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
10 changed files with 24 additions and 24 deletions

View file

@ -365,7 +365,7 @@ When otherwise called, open a dired buffer and enable `dired-mu4e-attach-ctrl-c-
;; (prolusion-mail-hide)
(cond
((and (modulep! :ui workspaces) (+workspace-exists-p +mu4e-workspace-name))
(+workspace/delete +mu4e-workspace-name))
(+workspace/kill +mu4e-workspace-name))
(+mu4e--old-wconf
(set-window-configuration +mu4e--old-wconf)

View file

@ -32,7 +32,7 @@
;; (+popup/close (get-buffer-window "*notmuch-hello*"))
(doom-kill-matching-buffers "^\\*notmuch")
(when (modulep! :ui workspaces)
(+workspace/delete +notmuch-workspace-name)))
(+workspace/kill +notmuch-workspace-name)))
(defun +notmuch-get-sync-command ()
"Return a shell command string to synchronize your notmuch mail with."