Commits

Ivan Andrus  committed eff400a

Added indentation debugging

  • Participants
  • Parent commits 185d600

Comments (0)

Files changed (1)

 (defun gap-smie-rules (kind token)
   "SMIE indentation rules for the GAP language.
 See `smie-rules-function' for meaning of KIND and TOKEN."
+  (when (and gap-debug-indent
+             (not (use-region-p)))
+    (message "%s %s" kind token))
   (pcase (cons kind token)
 
     (`(:before . ",") (smie-rule-separator kind))