From ce1a4cd54c87626f5c1cba9832f0885325c792fb Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 5 Feb 2021 01:27:14 +0100 Subject: [PATCH] * lisp/textmodes/rst.el (rst-directive): Remove XEmacs compat code. --- lisp/textmodes/rst.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 18341716e3a..2b31e7ed612 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el @@ -3627,10 +3627,7 @@ Region is from BEG to END. With WITH-EMPTY prefix empty lines too." "customize the face `rst-definition' instead." "24.1") -;; XEmacs compatibility (?). -(defface rst-directive (if (boundp 'font-lock-builtin-face) - '((t :inherit font-lock-builtin-face)) - '((t :inherit font-lock-preprocessor-face))) +(defface rst-directive '((t :inherit font-lock-builtin-face)) "Face used for directives and roles." :version "24.1" :group 'rst-faces) -- 2.39.2