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

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

Re: syntax highlighting


From: Lee Sau Dan
Subject: Re: syntax highlighting
Date: 29 Jan 2003 09:07:00 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Paul" == Paul O'Donnell <odonnellp@rogers.com> writes:

    Paul> But what about bash script files? I managed to get the
    Paul> syntax highlighting to work when the file extension is *.sh,
    Paul> which is nice, but what if it does not have an *.sh
    Paul> extension? Not all scipt files have this extension.

The  auto-mode feature has  been serving  you so  well that  you don't
realize   what   happens  behind   the   scene.    (Homework:  C-h   v
auto-mode-alist RET)

You can do it manually with M-x sh-mode.


-- 
Lee Sau Dan                     李守敦(Big5)                    ~{@nJX6X~}(HZ) 

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee


reply via email to

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