Function: meta-indent-current-indentation
meta-indent-current-indentation is a byte-compiled function defined in
meta-mode.el.gz.
Signature
(meta-indent-current-indentation)
Documentation
Return the indentation wanted for the current line of code.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/meta-mode.el.gz
(defun meta-indent-current-indentation ()
"Return the indentation wanted for the current line of code."
(+ (meta-indent-current-nesting)
(if (save-excursion
(back-to-indentation)
(and (not (looking-at (concat "\\<" meta-end-environment-regexp "\\>"
"\\|\\<" meta-within-environment-regexp "\\>")))
(progn (meta-indent-previous-line)
(meta-indent-unfinished-line))))
meta-indent-level
0)))