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: Barry Margolin
Subject: Re: << in shell-script mode
Date: Sat, 17 Oct 2015 23:59:44 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <pu49fc-gq5.ln1@chris.tor>,
 "Chris F.A. Johnson" <cfajohnson@cfaj.ca> 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?

I assumed you just wanted to disable it only in the rare cases where 
you're typing << that isn't the beginning of a here-doc. If you want to 
disable it totally, the other answer says how.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

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