summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-opt.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-02-05 14:46:47 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2011-02-05 14:46:47 -0500
commitba70ab1cad8149357bd92e23af80c96c08be57ea (patch)
tree1adc03d3336a754d64541630f6dfbb08812fd399 /lisp/emacs-lisp/byte-opt.el
parent7cb76591b02e831807bff7928b1f5f019761e0de (diff)
downloademacs-ba70ab1cad8149357bd92e23af80c96c08be57ea.tar.gz
emacs-ba70ab1cad8149357bd92e23af80c96c08be57ea.tar.bz2
emacs-ba70ab1cad8149357bd92e23af80c96c08be57ea.zip
* lisp/progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
font-lock-syntax-table remappings. (sh-here-doc-markers, sh-here-doc-re): Remove. (sh-font-lock-close-heredoc): Remove. (sh-syntax-propertize-here-doc): New function. (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property instead of the sh-here-doc-re. (sh-font-lock-paren): Don't do anything in comments or strings. Handle line continuations. Accept a few more chars. Don't rely on the font-lock-syntax-table remappings. `esac' is not a valid pattern. (sh-syntax-propertize-function): Handle here-docs differently, so we don't bother syntax-propertizing the insides. Fixes: debbugs:7947
Diffstat (limited to 'lisp/emacs-lisp/byte-opt.el')
0 files changed, 0 insertions, 0 deletions