modula-2-mode

modula-2-mode is an alias for `m2-mode' in `modula2.el'.


(modula-2-mode)

This is a mode intended to support program development in Modula-2.
All control constructs of Modula-2 can be reached by typing C-c
followed by the first character of the construct.

C-c b begin C-c c case
C-c d definition C-c e else
C-c f for C-c h header
C-c i if C-c m module
C-c l loop C-c o or
C-c p procedure Control-c Control-w with
C-c r record C-c s stdio
C-c t type C-c u until
C-c v var C-c w while
C-c x export C-c y import
C-c { begin-comment C-c } end-comment
C-c C-z suspend Emacs C-c C-t toggle
C-c C-c compile M-x m2-next-error next-error
C-c C-l link

`m2-indent' controls the number of spaces for each indentation.
`m2-compile-command' holds the command to compile a Modula-2 program.
`m2-link-command' holds the command to link a Modula-2 program.

In addition to any hooks its parent mode `prog-mode' might have run,
this mode runs the hook `m2-mode-hook', as the final step
during initialization.