emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/textile-mode f4d8edca45 12/19: Use different face for inli


From: ELPA Syncer
Subject: [nongnu] elpa/textile-mode f4d8edca45 12/19: Use different face for inline code
Date: Sat, 29 Jan 2022 08:29:35 -0500 (EST)

branch: elpa/textile-mode
commit f4d8edca454babe8d9037a11bef1afc580606adb
Author: Matus Goljer <dota.keys@gmail.com>
Commit: Matus Goljer <dota.keys@gmail.com>

    Use different face for inline code
---
 textile-mode.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/textile-mode.el b/textile-mode.el
index 124322db4a..8ec1db6a35 100644
--- a/textile-mode.el
+++ b/textile-mode.el
@@ -186,7 +186,7 @@ non-matching parentheses"
        ;; citation
        `(,(textile-inline-markup-matcher "\\?\\?") 1 'textile-citation-face 
prepend t)
        ;; code
-       `(,(textile-inline-markup-matcher "@") 1 'textile-code-face prepend t)
+       `(,(textile-inline-markup-matcher "@") 1 'textile-inline-code-face 
prepend t)
        ;; deletion
        `(,(textile-inline-markup-matcher "-") 1 'textile-deleted-face prepend 
t)
        ;; insertion
@@ -387,6 +387,11 @@ non-matching parentheses"
   "Face used to highlight <code> blocks."
   :group 'textile-faces)
 
+(defface textile-inline-code-face
+  '((t (:inherit textile-code-face)))
+  "Face used to highlight inline code blocks."
+  :group 'textile-faces)
+
 (defface textile-table-face
   '((t (:foreground "red")))
   "Face used to highlight tables."



reply via email to

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