Function: m4-m4-buffer

m4-m4-buffer is an interactive and byte-compiled function defined in m4-mode.el.gz.

Signature

(m4-m4-buffer)

Documentation

Send contents of the current buffer to m4.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/m4-mode.el.gz
(defun m4-m4-buffer ()
  "Send contents of the current buffer to m4."
  (interactive)
  (shell-command-on-region
   (point-min) (point-max)
   (mapconcat #'identity (cons m4-program m4-program-options) "\s")
   "*m4-output*" nil)
  (switch-to-buffer-other-window "*m4-output*"))