Function: verilog-batch-indent
verilog-batch-indent is a byte-compiled function defined in
verilog-mode.el.gz.
Signature
(verilog-batch-indent)
Documentation
For use with --batch, reindent an entire file as a stand-alone tool.
This sets up the appropriate Verilog mode environment, calls
M-x verilog-indent-buffer (verilog-indent-buffer) on all command-line files, and saves the buffers.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-batch-indent ()
"For use with --batch, reindent an entire file as a stand-alone tool.
This sets up the appropriate Verilog mode environment, calls
\\[verilog-indent-buffer] on all command-line files, and saves the buffers."
(unless noninteractive
(error "Use verilog-batch-indent only with --batch")) ; Otherwise we'd mess up buffer modes
(verilog-batch-execute-func 'verilog-indent-buffer))