Emacs27で"Package cl is deprecated"を抑制する方法

起動直後

early-init.elの先頭に以下を記述する。

(setq byte-compile-warnings '(cl-functions))

設定ファイルなどをバイトコンパイルするとき

以下の設定を追記する。

(eval-when-compile (setq byte-compile-warnings '(cl-functions)))