diff options
| author | Stefan Monnier | 2010-05-18 12:03:51 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-05-18 12:03:51 -0400 |
| commit | 472e7ec1e16f2f487e0e788f77fc9f3009b204b4 (patch) | |
| tree | 1198f0a3dc703e40369284da1098a79a84859afd /src/coding.h | |
| parent | 1fc0ce04bc651fe8adbe822515e4ea7a4e904249 (diff) | |
| download | emacs-472e7ec1e16f2f487e0e788f77fc9f3009b204b4.tar.gz emacs-472e7ec1e16f2f487e0e788f77fc9f3009b204b4.zip | |
Fix handling of non-associative equal levels.
* emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
when it's not needed.
(smie-op-left, smie-op-right): New functions.
(smie-next-sexp): New function, extracted from smie-backward-sexp.
Better handle equal levels to distinguish the associative case from
the "multi-keyword construct" case.
(smie-backward-sexp, smie-forward-sexp): Use it.
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions