help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there any way of asking EMACS to understand '.pc' files as '.c' f


From: Matthew O. Smith
Subject: Re: Is there any way of asking EMACS to understand '.pc' files as '.c' files and enable highlighting for them?
Date: Tue, 19 Mar 2002 08:09:06 -0700

Modify the auto-mode-alist.  This variable determines what mode a file is placed in by
matching the file name against an _expression_.
 
(setq auto-mode-alist (cons '("\\.pc$" . c-mode) auto-mode-alist))
----- Original Message -----
Sent: Tuesday, March 19, 2002 7:54 AM
Subject: Is there any way of asking EMACS to understand '.pc' files as '.c' files and enable highlighting for them?

'.pc' files are of ORACLE pro*C pre-compiler type that are used as embedded SQL files to access an ORACLE server. I 'd appreciate a lot if there was a way to force EMACS to treat them as of '.c' type.

 

N. Panoussis


reply via email to

[Prev in Thread] Current Thread [Next in Thread]