Function: meta-indent-defun
meta-indent-defun is an interactive and byte-compiled function defined
in meta-mode.el.gz.
Signature
(meta-indent-defun)
Documentation
Indent the current environment as Metafont or MetaPost source.
The environment indented is the one that contains point or follows point.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/meta-mode.el.gz
(defun meta-indent-defun ()
"Indent the current environment as Metafont or MetaPost source.
The environment indented is the one that contains point or follows point."
(interactive)
(save-excursion
(let* ((end (if (meta-end-of-defun) (point) (point-max)))
(beg (if (meta-beginning-of-defun) (point) (point-min))))
(indent-region beg end nil))))