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

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

Re: sh-script-mode


From: David Hansen
Subject: Re: sh-script-mode
Date: Mon, 29 May 2006 20:06:10 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Mon, 29 May 2006 16:41:47 +0100 Cai Qian wrote:

> Hi,
>
> I would like to change the behaviour of default sh-script-mode through
> .emacs about the following,
>
> 1) Here document,
> When input <<, it should not automatically add EOF here document for
> me, as I may want to use <<< instead. Therefore, I want to disable
> this feature.

Not tested:

(add-hook 'sh-mode-hook
          (lambda () (local-set-key ?< 'self-insert-command)))

David





reply via email to

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