Go to the first, previous, next, last section, table of contents.


Conventions for Writing Minor Modes

There are conventions for writing minor modes just as there are for major modes. Several of the major mode conventions apply to minor modes as well: those regarding the name of the mode initialization function, the names of global symbols, and the use of keymaps and other tables.

In addition, there are several conventions that are specific to minor modes.

You can also use add-to-list to add an element to this list just once (see section How to Alter a Variable Value).


Go to the first, previous, next, last section, table of contents.