branch: elpa/textile-mode commit f4d8edca454babe8d9037a11bef1afc580606adb Author: Matus Goljer <dota.k...@gmail.com> Commit: Matus Goljer <dota.k...@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."