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

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

[elpa] externals/auctex c360b9a 76/95: Adapt fontification for \lstinlin


From: Tassilo Horn
Subject: [elpa] externals/auctex c360b9a 76/95: Adapt fontification for \lstinline
Date: Sun, 16 Apr 2017 01:27:00 -0400 (EDT)

branch: externals/auctex
commit c360b9af3eb6910705d4f671641ddc3b90fe29a7
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    Adapt fontification for \lstinline
    
    * style/listings.el ("listings"): Fontify only the optional
    argument of \lstinline.
---
 style/listings.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/style/listings.el b/style/listings.el
index 074428b..e04045e 100644
--- a/style/listings.el
+++ b/style/listings.el
@@ -404,8 +404,7 @@ with user-defined values via the \"lstdefinestyle\" macro."
              (eq TeX-install-font-lock 'font-latex-setup))
      (font-latex-add-keywords '(("lstnewenvironment" "{[[{{")) 'function)
      (font-latex-add-keywords '(("lstinputlisting" "[{")) 'reference)
-     (font-latex-add-keywords '(("lstinline" "[{") ; The second argument should
-                                       ; actually be verbatim.
+     (font-latex-add-keywords '(("lstinline" "[")
                                ("lstlistoflistings" ""))
                              'textual)
      (font-latex-add-keywords '(("lstalias" "{{")



reply via email to

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