mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/workspaces: fset -> defalias
Allows these commands to be advised.
This commit is contained in:
@ -328,8 +328,8 @@ 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
|
||||||
(defun +workspace/switch-to-final ()
|
(defun +workspace/switch-to-final ()
|
||||||
|
Reference in New Issue
Block a user