1

Just have a look at mode-line-modes in bindings.el. There you find for the major mode the value used in the following snippet: (setq mode-line-format `(:propertize ("" mode-name) help-echo "Major mode\n\ mouse-1: Display major mode menu\n\ mouse-2: Show help for major mode\n\ mouse-3: Toggle minor modes" mouse-face mode-line-...


Only top voted, non community-wiki answers of a minimum length are eligible