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

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

Re: querry


From: F. Xavier Noria
Subject: Re: querry
Date: Tue, 14 Nov 2000 12:19:12 +0100 (CET)

On 14 Nov 2000, shikhar kumar wrote:

; i have emacs editor on my red hat linux OS.
; i use it for writing C programs but it doesn't highlight
;   keywords and commands.
; please tell me how to do it.

You may turn on font-lock mode for all major modes:

   (global-font-lock-mode 1)

or just for C:

   (add-hook 'c-mode-hook 'turn-on-font-lock)

There are more details in Q66 of the GNU Emacs FAQ:

   http://www.faqs.org/faqs/GNU-Emacs-FAQ/

and the whole story in the GNU Emacs Manual:

   C-h i m emacs RET m font lock RET

Hope that helps,

-- Xavier





reply via email to

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