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

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

[h-e-w] set syntax hi-lighting


From: wendy_yu
Subject: [h-e-w] set syntax hi-lighting
Date: Fri, 04 Jan 2002 02:12:51 -0000
User-agent: eGroups-EW/0.82

I would like to set syntax hi-lighting for .JSP  and .JS files.

I tried to modify my .emacs to make Emacs use TEXT major mode
for all .jsp files (see below), but no luck.

Appreciate your help.

---------------- .emacs file --------------------------------
(custom-set-variables
 '(font-lock-support-mode nil)
 '(global-font-lock-mode t nil (font-lock))
 '(font-lock-global-modes t)
 '(add-to-list 'auto-mode-alist '("\\.jsp\\'" . text-mode))
)
(custom-set-faces)
-------------------------------------------------------------



reply via email to

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