Warning (bytecomp) 警告应该如何让它不提示?

测试用下面的代码可以解决,而且要放在配置比较靠前的位置:

(setq byte-compile-warnings '(not nresolved
                                  free-vars
                                  callargs
                                  redefine
                                  obsolete
                                  noruntime
                                  cl-functions
                                  interactive-only
                                  ))
2 个赞