Re: adding extensions to cc-mode

2005-08-22 Thread Peter Dyballa
Am 22.08.2005 um 18:07 schrieb kgold: The extra quotes might work, but mine looks like: (setq auto-mode-alist (append '( ("\\.[Ss]$" . asm-mode) ("\\.68k$" . asm-mode) ("\\.inc$" . asm-mode) ("\\.[bB][aA][tT]$"

Re: adding extensions to cc-mode

2005-08-22 Thread kgold
Did you re-read the .emacs file after you edited it. E.g., restart emacs, or point to the end of the statement and C-x C-e (C-x C-e runs the command eval-last-sexp). The extra quotes might work, but mine looks like: (setq auto-mode-alist (append '( ("\\.[Ss]$" . asm-m

adding extensions to cc-mode

2005-08-22 Thread jose_luis_fdez_diaz_news
Hi, I went through the code in the .emacs file and tried to add .pc file extensions to the auto-mode-alist, but it still doesn't color my .pc (Pro*C) files when I bring them up. I am runnig emacs on Windows. Got any suggestions? ;; This is how emacs tells the file type by the file suffix. (set