mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Replace obsolete functions/commands
This commit is contained in:
@ -333,7 +333,7 @@ end of the workspace list."
|
||||
(condition-case ex
|
||||
(let* ((persps (+workspace-list))
|
||||
(perspc (length persps))
|
||||
(index (position current-name persps)))
|
||||
(index (cl-position current-name persps)))
|
||||
(when (= perspc 1)
|
||||
(user-error "No other workspaces"))
|
||||
(+workspace/switch-to (% (+ index n) perspc))
|
||||
|
Reference in New Issue
Block a user