From 2d9674e865028357da69d92f18f18f0a3a8d65a0 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 16 Aug 2022 16:04:03 +0200 Subject: [PATCH] Don't warn about some deleted variables in rst.el * lisp/textmodes/rst.el (rst-level-face-max) (rst-level-face-base-color, rst-level-face-base-light) (rst-level-face-format-light, rst-level-face-step-light) (rst-level-1-face, rst-level-2-face, rst-level-3-face) (rst-level-4-face, rst-level-5-face, rst-level-6-face): Don't issue obsoletion warnings for variables deleted in 24.3. --- lisp/textmodes/rst.el | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index c0d4dc68afa..7fe46b9628c 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el @@ -3634,19 +3634,6 @@ Region is from BEG to END. With WITH-EMPTY prefix empty lines too." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(dolist (var '(rst-level-face-max rst-level-face-base-color - rst-level-face-base-light - rst-level-face-format-light - rst-level-face-step-light - rst-level-1-face - rst-level-2-face - rst-level-3-face - rst-level-4-face - rst-level-5-face - rst-level-6-face)) - (make-obsolete-variable var "customize the faces `rst-level-*' instead." - "24.3")) - ;; Define faces for the first 6 levels. More levels are possible, however. (defface rst-level-1 '((((background light)) (:background "grey85")) (((background dark)) (:background "grey15"))) -- 2.39.2