about summary refs log tree commit diff
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-07T14·47+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-07T14·47+0100
commita366f352e6f6f4db3dd1602679f8887f47401256 (patch)
treee936540b4ac76d15842f3626f869bbfcd66ba7f6 /emacs/.emacs.d/init.el
parentcc1a91078a6168176a9b359d4495b34ce88a77fd (diff)
Suppress cl deprecation warnings during initialization
See the URL I linked to for more information.
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 35c388f1d00c..2b99f0d96427 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -1,3 +1,9 @@
+;; This suppresses the warning about Emacs 27 deprecating the cl library in
+;; favor of cl-lib.
+;; See this thread for more details:
+;; https://github.com/kiwanami/emacs-epc/issues/35
+(setq byte-compile-warnings '(cl-functions))
+
 ;; load order is intentional
 (require 'wpc-package)
 (require 'wpc-misc)