69 |
parent argument, since it automatically enforces the most important |
parent argument, since it automatically enforces the most important |
70 |
coding conventions for you. |
coding conventions for you. |
71 |
|
|
72 |
|
@findex define-generic-mode |
73 |
|
For a very simple programming language major mode that handles |
74 |
|
comments and fontification, you can use @code{define-generic-mode} |
75 |
|
in @file{generic.el}. |
76 |
|
|
77 |
Rmail Edit mode offers an example of changing the major mode |
Rmail Edit mode offers an example of changing the major mode |
78 |
temporarily for a buffer, so it can be edited in a different way (with |
temporarily for a buffer, so it can be edited in a different way (with |
79 |
ordinary Emacs commands rather than Rmail commands). In such cases, the |
ordinary Emacs commands rather than Rmail commands). In such cases, the |