ui/workspaces: fset -> defalias
Allows these commands to be advised.
This commit is contained in:
parent
87b7a8da05
commit
525193f94b
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue
Block a user