summaryrefslogtreecommitdiff
path: root/src/README
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-05-27 00:41:36 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2010-05-27 00:41:36 -0400
commit11e4d8c0d35ec52819d5ce11176fc1f53b9890e0 (patch)
tree0277374a0a15dd53c05b2b9d67308ea80dcf3168 /src/README
parent6dc439cbcc563ff10c9ae3cf8069c26664e9bd04 (diff)
downloademacs-11e4d8c0d35ec52819d5ce11176fc1f53b9890e0.tar.gz
Provide hooks to use a different tokenizer in SMIE.
* lisp/emacs-lisp/smie.el (smie-forward-token-function) (smie-backward-token-function): New vars. (smie-backward-sexp, smie-forward-sexp) (smie-indent-hanging-p, smie-indent-calculate): Use them. (smie-default-backward-token): Rename from smie-backward-token and skip comments. (smie-default-forward-token): Rename from smie-forward-token and skip comments. (smie-next-sexp): Handle nil results from next-token. (smie-indent-calculate): Add a new case for special `fixindent' comments.
Diffstat (limited to 'src/README')
0 files changed, 0 insertions, 0 deletions