ui/workspaces: fset -> defalias

Allows these commands to be advised.
This commit is contained in:
Henrik Lissner 2019-09-26 17:55:33 -04:00
parent 87b7a8da05
commit 525193f94b
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -328,8 +328,8 @@ end of the workspace list."
;;;###autoload
(dotimes (i 9)
(fset (intern (format "+workspace/switch-to-%d" i))
(lambda () (interactive) (+workspace/switch-to i))))
(defalias (intern (format "+workspace/switch-to-%d" i))
(lambda () (interactive) (+workspace/switch-to i))))
;;;###autoload
(defun +workspace/switch-to-final ()