mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-06 15:13:33 -05:00
reverse => nreverse; other optimizations
This commit is contained in:
@@ -299,7 +299,7 @@ end of the workspace list."
|
||||
(defun +workspace/switch-to-last ()
|
||||
"Switch to the last workspace."
|
||||
(interactive)
|
||||
(+workspace/switch-to (car (reverse (+workspace-list)))))
|
||||
(+workspace/switch-to (car (last (+workspace-list)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +workspace/cycle (n)
|
||||
|
Reference in New Issue
Block a user