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. (setq auto-mode-alist (append '(("\\.mss$" . scribe-mode)) '(("\\.bib$" . bibtex-mode)) '(("\\.tex$" . latex-mode)) '(("\\.obj$" . lisp-mode)) '(("\\.st$" . smalltalk-mode)) '(("\\.Z$" . uncompress-while-visiting)) '(("\\.cs$" . indented-text-mode)) '(("\\.C$" . c++-mode)) '(("\\.cc$" . c++-mode)) '(("\\.icc$" . c++-mode)) '(("\\.c$" . c-mode)) '(("\\.pc$" . c-mode)) '(("\\.y$" . c-mode)) '(("\\.h$" . c++-mode)) auto-mode-alist)) Thanks in advance, Jose Luis. _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs