]> git.eshelyaron.com Git - emacs.git/commit
Fix handling of non-associative equal levels.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 18 May 2010 16:03:51 +0000 (12:03 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 18 May 2010 16:03:51 +0000 (12:03 -0400)
commit472e7ec1e16f2f487e0e788f77fc9f3009b204b4
tree1198f0a3dc703e40369284da1098a79a84859afd
parent1fc0ce04bc651fe8adbe822515e4ea7a4e904249
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.
lisp/ChangeLog
lisp/emacs-lisp/smie.el