branch: externals/ergoemacs-mode
commit 75539086f7557fce90e6a7521a3e60dd89bd20c6
Author: Walter Landry <[email protected]>
Commit: Walter Landry <[email protected]>
Remove set-layout
---
ergoemacs-layouts.el | 2 --
ergoemacs-lib.el | 7 -------
2 files changed, 9 deletions(-)
diff --git a/ergoemacs-layouts.el b/ergoemacs-layouts.el
index 8a5116b..a27486e 100644
--- a/ergoemacs-layouts.el
+++ b/ergoemacs-layouts.el
@@ -526,8 +526,6 @@ Otherwise, `ergoemacs-mode' will try to adjust based on
your layout."
(add-hook 'ergoemacs-init-hook #'ergoemacs-layout--update-quail))
-(defalias 'ergoemacs-layout 'ergoemacs-set-layout)
-
(define-button-type 'ergoemacs-layout-help
:supertype 'help-xref
'help-function #'ergoemacs-layout-describe
diff --git a/ergoemacs-lib.el b/ergoemacs-lib.el
index ce7f0cf..2490710 100644
--- a/ergoemacs-lib.el
+++ b/ergoemacs-lib.el
@@ -490,13 +490,6 @@ All other modes are assumed to be minor modes or
unimportant.
menu))
;;;###autoload
-(defun ergoemacs-set-layout (layout)
- "Set `ergoemacs-keyboard-layout' to LAYOUT and reset `ergoemacs-mode'.
-The reset is done with `ergoemacs-mode-reset'."
- (setq ergoemacs-keyboard-layout layout)
- (ergoemacs-mode-reset))
-
-;;;###autoload
(defun ergoemacs-gen-ahk (&optional all)
"Generates autohotkey for all layouts and themes"
(interactive)