auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex ccfd3d9 57/80: Restore syntax fon


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex ccfd3d9 57/80: Restore syntax fontify in Texinfo mode
Date: Wed, 16 Oct 2019 11:07:17 -0400 (EDT)

branch: externals/auctex
commit ccfd3d91a57102b03d488828ba93ec7494daea26
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>

    Restore syntax fontify in Texinfo mode
    
    * tex-info.el (TeX-texinfo-mode): Set `syntax-propertize-function',
    mimicking texinfo.el.  Now comments in Texinfo mode buffer are
    displayed with comment face again.
---
 tex-info.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tex-info.el b/tex-info.el
index f7da017..4f8165d 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -664,6 +664,8 @@ value of `Texinfo-mode-hook'."
 
   (set (make-local-variable 'font-lock-defaults)
        '(texinfo-font-lock-keywords nil nil nil backward-paragraph))
+  (set (make-local-variable 'syntax-propertize-function)
+       texinfo-syntax-propertize-function)
 
   ;; Outline settings.
   (set (make-local-variable 'outline-regexp)



reply via email to

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