From: Stefan Kangas Date: Fri, 5 Feb 2021 00:27:14 +0000 (+0100) Subject: * lisp/textmodes/rst.el (rst-directive): Remove XEmacs compat code. X-Git-Tag: emacs-28.0.90~3931 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ce1a4cd54c87626f5c1cba9832f0885325c792fb;p=emacs.git * lisp/textmodes/rst.el (rst-directive): Remove XEmacs compat code. --- 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)