radian-software / radian

🍉 Dotfiles that marry elegance and practicality.
MIT License
490 stars 47 forks source link

Fix hook names for C/C++ flyspell fixups #439

Closed smuething closed 5 years ago

smuething commented 5 years ago

The hooks that remove the gcc and clang checkers did not get applied because the names of the mode hooks were misspelled.

raxod502 commented 5 years ago

Thanks! I guess it would be advisable to extend radian-defhook (which explicitly has code that detects this error) to work for functions that are intended to be added to more than one hook—e.g. by passing a list of hooks to the macro instead of just one.