branch: elpa/textile-mode
commit 985d327ab02feff4f24fa627ead1e840571a0ede
Author: Konstantin Kharlamov <hi-an...@yandex.ru>
Commit: Konstantin Kharlamov <hi-an...@yandex.ru>

    Do not override inline-code face
    
    Given this text:
    
        foo @_x() test@ bar
    
    before this commit the `_x()` would get highlighted as an acronym, even
    though it's inside an inline-code markup. After this commit the whole
    thing will be just "inline-code" instead.
---
 textile-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/textile-mode.el b/textile-mode.el
index 23271753e5..6e6e097c02 100644
--- a/textile-mode.el
+++ b/textile-mode.el
@@ -24,7 +24,7 @@
 
 ;;; Commentary:
 
-;; An emacs major mode for Textile markup language 
+;; An emacs major mode for Textile markup language
 ;; (https://textile-lang.com/) editing.
 
 ;;; Known bugs or limitations:
@@ -185,7 +185,7 @@ non-matching parentheses"
        ;; citation
        `(,(textile-inline-markup-matcher "\\?\\?") 1 'textile-citation-face 
prepend t)
        ;; code
-       `(,(textile-inline-markup-matcher "@") 1 'textile-inline-code-face 
prepend t)
+       `(,(textile-inline-markup-matcher "@") 1 'textile-inline-code-face t t)
        ;; deletion
        `(,(textile-inline-markup-matcher "-") 1 'textile-deleted-face prepend 
t)
        ;; insertion

Reply via email to