snmp-calculate-indent

snmp-calculate-indent is a compiled Lisp function in `snmp-mode.el'.

(snmp-calculate-indent)

Calculate the current line indentation in SNMP MIB code.

We use a very simple scheme: if the previous non-empty line was a "macro
open" string, add `snmp-indent-level' to it. If it was a "macro close"
string, subtract `snmp-indent-level'. Otherwise, use the same indentation
as the previous non-empty line. Note comments are considered empty
lines for the purposes of this function.