mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/workspaces: fset -> defalias
Allows these commands to be advised.
This commit is contained in:
@ -328,7 +328,7 @@ end of the workspace list."
|
|||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(dotimes (i 9)
|
(dotimes (i 9)
|
||||||
(fset (intern (format "+workspace/switch-to-%d" i))
|
(defalias (intern (format "+workspace/switch-to-%d" i))
|
||||||
(lambda () (interactive) (+workspace/switch-to i))))
|
(lambda () (interactive) (+workspace/switch-to i))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
Reference in New Issue
Block a user