Closed twlz0ne closed 2 years ago
The macro helm-build-sync-source will cause an Invalid function error when compiling byte code:
helm-build-sync-source
Debugger entered--Lisp error: (invalid-function helm-build-sync-source) helm-build-sync-source(\"Awesome-Tab Group\" :candidates awesome-tab-get-groups :action ((\"Switch to group\" . awesome-tab-switch-group))) awesome-tab-build-helm-source() (closure (t) nil (awesome-tab-build-helm-source))()"
There are 2 ways to solve it:
(eval-when-compile (require 'helm-source nil t))
helm-make-source
See https://github.com/jacktasia/dumb-jump/issues/224 for more infomation.
Minimal config to reproduce:
(progn (toggle-debug-on-error) (quelpa '(awesome-tab :repo "manateelazycat/awesome-tab" :fetcher github)) (require 'awesome-tab) (awesome-tab-build-helm-source))
感谢补丁!
The macro
helm-build-sync-source
will cause an Invalid function error when compiling byte code:There are 2 ways to solve it:
(eval-when-compile (require 'helm-source nil t))
.helm-build-sync-source
withhelm-make-source
.See https://github.com/jacktasia/dumb-jump/issues/224 for more infomation.
Minimal config to reproduce: