From 13a433585c22172be7f849333fe7b873965d401c Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 10 May 2022 22:53:58 +0800 Subject: Autoload sis package (emacs) --- .emacs.d/lisp/init-input-method.el | 3 +++ 1 file changed, 3 insertions(+) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-input-method.el b/.emacs.d/lisp/init-input-method.el index 81f6d89..e027c44 100644 --- a/.emacs.d/lisp/init-input-method.el +++ b/.emacs.d/lisp/init-input-method.el @@ -17,6 +17,9 @@ (setq gx/input-method--insert-state-source sis-english-source) (when (gx/maybe-require-package 'sis) + (autoload 'sis-get "sis" nil t) + (autoload 'sis-set-english "sis" nil t) + (autoload 'sis-set-other "sis" nil t) (add-hook 'evil-insert-state-exit-hook (lambda () (setq gx/input-method--insert-state-source (sis-get)) -- cgit v1.2.3