From a8aa16905fd01d761af9218af951aa625d46ee29 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Mon, 3 Jul 2023 21:51:37 -0400 Subject: Disable obselete function warning --- init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 258f65e..2bb399a 100644 --- a/init.el +++ b/init.el @@ -76,6 +76,19 @@ (setq load-prefer-newer t) +;; --------------------------------- +;; Disable obsolete function warning +;; --------------------------------- +;; These warnings are really +;; annoying. +;; --------------------------------- + +(eval-when-compile + (dolist (sym '(cl-flet lisp-complete-symbol)) + (setplist sym (use-package-plist-delete + (symbol-plist sym) 'byte-obsolete-info)))) + + ;; --------------------------------- ;; Exclude modes from modeline list ;; -------------------------------- -- cgit v1.2.3