reverse => nreverse; other optimizations
This commit is contained in:
parent
4723a3d76f
commit
27cc4a9508
7 changed files with 22 additions and 22 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue