Does anyone know how I might get emacs to apply the “.ini” syntax highlighting for a “.gcf” file (my own custom file ext)?
I’ve googled, and my best effort was adding to my ~/.emacs, without joy.
(add-to-list 'auto-mode-alist '("[.]gcf$" . ini-mode))
First find out the mode for
inifiles. While editing a “.ini” file doC-h m; then add to your “.emacs” the following code: