auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/style/alltt.el


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/style/alltt.el
Date: Sun, 02 Oct 2005 09:19:06 -0400

Index: auctex/style/alltt.el
diff -u auctex/style/alltt.el:1.5 auctex/style/alltt.el:1.6
--- auctex/style/alltt.el:1.5   Mon May  2 10:37:47 2005
+++ auctex/style/alltt.el       Sun Oct  2 13:19:06 2005
@@ -1,6 +1,6 @@
 ;;; alltt.el --- AUCTeX style for `alltt.sty'
 
-;; Copyright (C) 2004 Free Software Foundation, Inc.
+;; Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 
 ;; Author: Ralf Angeli <address@hidden>
 ;; Maintainer: address@hidden
@@ -39,10 +39,11 @@
                '("alltt" current-indentation))
    (make-local-variable 'LaTeX-verbatim-regexp)
    (setq LaTeX-verbatim-regexp (concat LaTeX-verbatim-regexp "\\|alltt"))
+   (add-to-list 'LaTeX-verbatim-environments-local "alltt")
    ;; Fontification
    (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
-     (add-to-list 'font-latex-verbatim-environments-local "alltt")
+     ;; For syntactic fontification, e.g. verbatim constructs.
      (font-latex-set-syntactic-keywords)
      ;; Tell font-lock about the update.
      (setq font-lock-set-defaults nil)




reply via email to

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