I wrote a new major mode config-general-mode, which is derived from
conf-mode. I like it a lot and want to have it as the default mode for all configuration files. Thus I tried:
(defalias 'conf-mode 'config-general-mode)
But this doesn't work, I get the error message:
Lisp nesting exceeds `max-lisp-eval-depth'
Of course I could (and probably will) just associate
*.conf with my mode, but I am curious, if such an alias can be made possible somehow.