Function: m4-m4-region
m4-m4-region is an interactive and byte-compiled function defined in
m4-mode.el.gz.
Signature
(m4-m4-region)
Documentation
Send contents of the current region to m4.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/m4-mode.el.gz
(defun m4-m4-region ()
"Send contents of the current region to m4."
(interactive)
(shell-command-on-region
(point) (mark)
(mapconcat #'identity (cons m4-program m4-program-options) "\s")
"*m4-output*" nil)
(switch-to-buffer-other-window "*m4-output*"))