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

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

Re: << in shell-script mode


From: Chris F.A. Johnson
Subject: Re: << in shell-script mode
Date: Sat, 17 Oct 2015 17:22:05 -0400
User-agent: slrn/1.0.1 (Linux)

On 2015-10-17, Andy Moreton wrote:
> 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.

   Perfect. Thanks very much.

-- 
Chris F.A. Johnson


reply via email to

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