/[auctex]/auctex/style/alltt.el
ViewVC logotype

Diff of /auctex/style/alltt.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by dak, Mon May 2 10:37:47 2005 UTC revision 1.6 by angeli, Sun Oct 2 13:19:06 2005 UTC
# Line 1  Line 1 
1  ;;; alltt.el --- AUCTeX style for `alltt.sty'  ;;; alltt.el --- AUCTeX style for `alltt.sty'
2    
3  ;; Copyright (C) 2004 Free Software Foundation, Inc.  ;; Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4    
5  ;; Author: Ralf Angeli <angeli@iwi.uni-sb.de>  ;; Author: Ralf Angeli <angeli@iwi.uni-sb.de>
6  ;; Maintainer: auctex-devel@gnu.org  ;; Maintainer: auctex-devel@gnu.org
# Line 39  Line 39 
39                  '("alltt" current-indentation))                  '("alltt" current-indentation))
40     (make-local-variable 'LaTeX-verbatim-regexp)     (make-local-variable 'LaTeX-verbatim-regexp)
41     (setq LaTeX-verbatim-regexp (concat LaTeX-verbatim-regexp "\\|alltt"))     (setq LaTeX-verbatim-regexp (concat LaTeX-verbatim-regexp "\\|alltt"))
42       (add-to-list 'LaTeX-verbatim-environments-local "alltt")
43     ;; Fontification     ;; Fontification
44     (when (and (featurep 'font-latex)     (when (and (featurep 'font-latex)
45                (eq TeX-install-font-lock 'font-latex-setup))                (eq TeX-install-font-lock 'font-latex-setup))
46       (add-to-list 'font-latex-verbatim-environments-local "alltt")       ;; For syntactic fontification, e.g. verbatim constructs.
47       (font-latex-set-syntactic-keywords)       (font-latex-set-syntactic-keywords)
48       ;; Tell font-lock about the update.       ;; Tell font-lock about the update.
49       (setq font-lock-set-defaults nil)       (setq font-lock-set-defaults nil)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26