Function: m4-mode
m4-mode is an autoloaded, interactive and byte-compiled function
defined in m4-mode.el.gz.
Signature
(m4-mode)
Documentation
A major mode to edit m4 macro files.
In addition to any hooks its parent mode prog-mode might have run,
this mode runs the hook m4-mode-hook, as the final or penultimate step
during initialization.
C-c C-b m4-m4-buffer
C-c C-c comment-region
C-c C-r m4-m4-region
Probably introduced at or before Emacs version 20.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/m4-mode.el.gz
;;;###autoload
(define-derived-mode m4-mode prog-mode "m4"
"A major mode to edit m4 macro files."
(setq-local comment-start "#")
(setq-local parse-sexp-ignore-comments t)
(setq-local add-log-current-defun-function #'m4-current-defun-name)
(setq-local syntax-propertize-function m4-syntax-propertize)
(setq-local font-lock-defaults '(m4-font-lock-keywords)))