diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-09-18 02:35:00 +0200 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-09-18 02:35:00 +0200 |
commit | b879a6e2974d913d0c6dc1e290b2c246d7888b4f (patch) | |
tree | f8d6bc12c185cf77892012bc4052efeb1f95fdc3 /lisp/gnus/gnus-logic.el | |
parent | 269c197ee9d1c3c0b8c03c278d76a570740dd624 (diff) | |
download | emacs-b879a6e2974d913d0c6dc1e290b2c246d7888b4f.tar.gz emacs-b879a6e2974d913d0c6dc1e290b2c246d7888b4f.tar.bz2 emacs-b879a6e2974d913d0c6dc1e290b2c246d7888b4f.zip |
Fix and improve last syntax-propertize patch
* lisp/emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
(syntax-propertize-rules): Add var-ref case. Fix offset computation
when adding surrounding \(..\).
* lisp/progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
(fortran-make-syntax-propertize-function): New function; replaces
fortran-font-lock-syntactic-keywords.
(fortran-mode): Use it.
(fortran-line-length): Use it. Improve interactive spec.
* lisp/progmodes/js.el (js-mode): Fix last change (bug#7054).
* lisp/textmodes/tex-mode.el (tex-syntax-propertize-rules)
(latex-syntax-propertize-rules): New consts; replace
tex-font-lock-syntactic-keywords.
(tex-env-mark, latex-env-before-change): New functions.
(latex-electric-env-pair-mode): New minor mode.
(tex-font-lock-verb): Change arguments; do move point.
(tex-font-lock-syntactic-face-function): Adjust to new verbatim
representation as a form of comment.
(tex-font-lock-keywords-1): Remove workaround, now unneeded.
(doctex-syntax-propertize-rules): New const; replaces
doctex-font-lock-syntactic-keywords.
(tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
Diffstat (limited to 'lisp/gnus/gnus-logic.el')
0 files changed, 0 insertions, 0 deletions