Function: mhtml-ts-mode-pretty-print
mhtml-ts-mode-pretty-print is an interactive and byte-compiled
function defined in mhtml-ts-mode.el.gz.
Signature
(mhtml-ts-mode-pretty-print COMMAND)
Documentation
Prettify the current buffer.
Argument COMMAND The command to use.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/mhtml-ts-mode.el.gz
(defun mhtml-ts-mode-pretty-print (command)
"Prettify the current buffer.
Argument COMMAND The command to use."
(interactive
(list (read-string
"Prettify command: "
(or mhtml-ts-mode-saved-pretty-print-command
(concat mhtml-ts-mode-pretty-print-command " ")))))
(setq mhtml-ts-mode-saved-pretty-print-command command)
(save-excursion
(shell-command-on-region
(point-min) (point-max)
command (buffer-name) t
"*mhtml-ts-mode-pretty-pretty-print-errors*" t)))