Example 4a. The Major and Minor Modes