reverse => nreverse; other optimizations

This commit is contained in:
Henrik Lissner 2017-03-01 19:15:45 -05:00
parent 4723a3d76f
commit 27cc4a9508
7 changed files with 22 additions and 22 deletions

View file

@ -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)