[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: << in shell-script mode
From: |
Andy Moreton |
Subject: |
Re: << in shell-script mode |
Date: |
Sat, 17 Oct 2015 12:09:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) |
On Sat 17 Oct 2015, Chris F.A. Johnson wrote:
> On 2015-10-17, Barry Margolin wrote:
>> In article <p7p8fc-2dm.ln1@chris.tor>,
>> "Chris F.A. Johnson" <cfajohnson@cfaj.ca> wrote:
>>
>>> How do I prevent emacs from inserting a here document:
>>> <<EOF
>>>
>>> EOF
>>> whenever I type <<
>>> ?
>>
>> Type C-q before the second < to insert it literally.
>
> Why should I have to do that?
This is controlled by sh-electric-here-document-mode, so disable
that minor mode to disable the automatic here document insertion.
AndyM