emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ce1a4cd 2/2: * lisp/textmodes/rst.el (rst-directive): Remove XEma


From: Stefan Kangas
Subject: master ce1a4cd 2/2: * lisp/textmodes/rst.el (rst-directive): Remove XEmacs compat code.
Date: Thu, 4 Feb 2021 19:28:08 -0500 (EST)

branch: master
commit ce1a4cd54c87626f5c1cba9832f0885325c792fb
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    * 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 1834171..2b31e7e 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]