• Stefan Monnier's avatar
    Fix handling of non-associative equal levels. · 472e7ec1
    Stefan Monnier authored
    * 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.
    472e7ec1
ChangeLog 498 KB