Subject: 26.2; smie-rule-next-p needs smie--after to be defined

From: Sam Halliday <[email-masked]>
Date: Sat, 29 Jun 2019 14:23:01 +0100

When writing SMIE indentation rules, as per `smie-rules-function`,
when an :elem is received (confirmed at least with 'empty-line-token)
it is not possible to call the function smie-rule-parent-p, because
the smie--after variable has not been defined.

A workaround is to define the variable locally, e.g.

        (defvar smie--after)
        (setq smie--after (point))