unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Hansen <david.hansen@gmx.net>
Subject: Re: sh-script-mode
Date: Mon, 29 May 2006 20:06:10 +0200	[thread overview]
Message-ID: <87irno3dv1.fsf@robotron.kosmorama> (raw)
In-Reply-To: a96350810605290841oced01a5i913a3ec0a48c4ab3@mail.gmail.com

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	other threads:[~2006-05-29 18:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-29 15:41 sh-script-mode Cai Qian
2006-05-29 18:06 ` David Hansen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87irno3dv1.fsf@robotron.kosmorama \
    --to=david.hansen@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).