更新了一下所有插件后启动emacs,会有下面的警告:
⛔ Warning (files): : ‘lexical-binding’ at end of file unreliable
通过二分排查,在配置中定位到是如下配置引起的问题
(use-package sis
:demand t
:init
(setq
sis-inline-with-english t
sis-external-ism "im-select"
sis-respect-restore-triggers
'(isearch-exit isearch-abort)
sis-respect-go-english-triggers
'(iserach-forward isearch-backward)
sis-respect-minibuffer-triggers
`(,(cons 'denote (lambda () 'other))
,(cons 'denote-template (lambda () 'other))
,(cons 'denote-open-or-create (lambda () 'other)))
)
:config
(add-to-list 'sis-prefix-override-keys "M-s")
(add-to-list 'sis-prefix-override-keys "M-g")
(when IS-WIN
(sis-ism-lazyman-config "1033" "2052" 'im-select))
(sis-global-inline-mode 1)
(sis-global-respect-mode 1)
;; (sis-global-context-mode 1)
(add-hook 'org-capture-mode-hook 'sis-set-other))
这段配置之前没问题,也不太清楚这个warning是啥意思,有网友清楚这个问题或者遇到这个问题的吗?