/[auctex]/auctex/font-latex.el
ViewVC logotype

Diff of /auctex/font-latex.el

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

revision 5.143 by angeli, Sat Nov 12 09:23:51 2005 UTC revision 5.144 by angeli, Thu Nov 24 16:03:25 2005 UTC
# Line 223  variable `font-latex-fontify-sectioning' Line 223  variable `font-latex-fontify-sectioning'
223    
224  (font-latex-make-sectioning-faces font-latex-sectioning-max)  (font-latex-make-sectioning-faces font-latex-sectioning-max)
225    
 ;; These aliases should be removed after the next release:  
 ;; Provide alias for version 11.55:  
 (condition-case nil  
     (make-obsolete-variable 'font-latex-title-fontify  
                             'font-latex-fontify-sectioning  
                             "AUCTeX 11.81")  
   (wrong-number-of-arguments 'font-latex-title-fontify  
                              'font-latex-fontify-sectioning))  
 ;; Should we provide an alias for version 11.50-11.54?  
 ;; (make-obsolete-variable 'font-latex-title-fontity  
 ;;                      'font-latex-title-fontify "AUCTEX 11.55")  
226    
227  ;;; Keywords  ;;; Keywords
228    
# Line 642  Generated by `font-latex-make-user-keywo Line 631  Generated by `font-latex-make-user-keywo
631    (dolist (item    (dolist (item
632             '(("\\(^\\|[^\\]\\)\\(&+\\)" 2 'font-latex-warning-face)             '(("\\(^\\|[^\\]\\)\\(&+\\)" 2 'font-latex-warning-face)
633               ("\\$\\$\\([^$]+\\)\\$\\$" 1 'font-latex-math-face)               ("\\$\\$\\([^$]+\\)\\$\\$" 1 'font-latex-math-face)
634               (font-latex-match-quotation (0 'font-latex-string-face append))))               (font-latex-match-quotation (0 'font-latex-string-face append))
635                 ;; Hack to remove the verbatim face from the \ in
636                 ;; \end{verbatim} and similar.  The same hack is used in
637                 ;; tex-mode.el.
638                 ("^[ \t]*\\(\\\\\\)end"
639                  (1 (get-text-property (match-end 1) 'face) t))))
640      (add-to-list 'font-latex-keywords-1 item)      (add-to-list 'font-latex-keywords-1 item)
641      (add-to-list 'font-latex-keywords-2 item))      (add-to-list 'font-latex-keywords-2 item))
642    (dolist (item    (dolist (item
# Line 714  have changed." Line 708  have changed."
708                                "\\)}.*\\(\n\\)")                                "\\)}.*\\(\n\\)")
709                       (1 "|" t)))                       (1 "|" t)))
710        (add-to-list 'font-latex-syntactic-keywords        (add-to-list 'font-latex-syntactic-keywords
711                     `(,(concat "\\(\n\\)[ \t]*\\\\end *{\\(?:" verb-envs "\\)}")                     ;; Using the newline character for the syntax
712                       ;; property often resulted in fontification
713                       ;; problems when text was inserted at the end of
714                       ;; the verbatim environment.  That's why we now use
715                       ;; the starting backslash of \end.  There is a hack
716                       ;; in `font-latex-make-user-keywords' to remove the
717                       ;; spurious fontification of the backslash.
718                       `(,(concat "^[ \t]*\\(\\\\\\)end *{\\(?:" verb-envs "\\)}")
719                       (1 "|" t))))                       (1 "|" t))))
720      (unless (= (length verb-macros-with-delims) 0)      (unless (= (length verb-macros-with-delims) 0)
721        (add-to-list 'font-latex-syntactic-keywords        (add-to-list 'font-latex-syntactic-keywords

Legend:
Removed from v.5.143  
changed lines
  Added in v.5.144

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