[Top][All Lists]

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

Re: How to open a file in sh-mode

From: Francis Moreau
Subject: Re: How to open a file in sh-mode
Date: Thu, 14 Aug 2008 13:51:00 +0200

On Thu, Aug 14, 2008 at 1:36 PM, Henrik Austad <address@hidden> wrote:
> ok, I think I got something that works, thanks to all the guys at #emacs for
> this (ams, pgas, bpalmer)
> In .emacs add the following:
> (add-to-list 'auto-mode-alist '("bash-fc" . sh-mode))
> then;
> export FCEDIT="emacs"
> then sh-mode will be loaded when you open files starting with bash-fc
> as a test;
> echo "Hello World" && fc

thanks for that but emacs command line option usage look soooo weird


reply via email to

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