chinese: refactor

- Replaced `(set (make-local-variable 'foo) bar)` with `(setq-local foo bar)`
This commit is contained in:
Lucius Hu 2021-03-17 23:39:12 -04:00 committed by duianto
parent d8e55824f3
commit 5e0defebba
1 changed files with 3 additions and 3 deletions

View File

@ -33,8 +33,8 @@
pangu-spacing
org
(youdao-dictionary :toggle chinese-enable-youdao-dict)
chinese-conv
))
chinese-conv))
(defun chinese/init-fcitx ()
(use-package fcitx
@ -113,7 +113,7 @@
;; Always insert `real' space in org-mode.
(add-hook 'org-mode-hook
'(lambda ()
(set (make-local-variable 'pangu-spacing-real-insert-separtor) t))))))
(setq-local pangu-spacing-real-insert-separtor t))))))
(defun chinese/init-chinese-conv ()
(use-package chinese-conv