Fixes an odd error where: 1. You open an elixir-mode buffer 2. elixir-mode sets `mode-name` to a non-string value 3. cc-mode is pulled in by one of its dependencies 4. `c-toggle-electric-state` is called from the config/default module 5. Which calls `c-update-modeline` 6. Which operates on `mode-name` and assumes it is a string 7. And a wrong-type-argument: stringp error is thrown |
||
---|---|---|
.. | ||
default | ||
literate |