From: Stefan Kangas Date: Tue, 16 Aug 2022 14:04:03 +0000 (+0200) Subject: Don't warn about some deleted variables in rst.el X-Git-Tag: emacs-29.0.90~1856^2~646 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d9674e865028357da69d92f18f18f0a3a8d65a0;p=emacs.git 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. --- 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")))