unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bastien <bastienguerry@googlemail.com>
To: Decebal <CLDWesterhof@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Refill mode for text-mode, but not for org-mode
Date: Fri, 24 Oct 2008 16:50:54 +0200	[thread overview]
Message-ID: <871vy6m4hd.fsf@gnu.org> (raw)
In-Reply-To: <55ca2c0c-90ed-4b57-9ff6-01b43886e844@c60g2000hsf.googlegroups.com> (Decebal's message of "Fri, 24 Oct 2008 07:18:03 -0700 (PDT)")

Decebal <CLDWesterhof@gmail.com> writes:

> I have the following in my .emacs:
>     (add-hook 'text-mode-hook
>       (lambda () (refill-mode 1)
>       )
>
> This sets refill-mode for text-mode -what I want-, but also for org-
> mode -what I do not want-. How can I set it for text-mode without also
> setting it for org-mode?

(add-hook 'org-mode-hook (lambda () (refill-mode 0)))

-- 
Bastien




  reply	other threads:[~2008-10-24 14:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24 14:18 Refill mode for text-mode, but not for org-mode Decebal
2008-10-24 14:50 ` Bastien [this message]
2008-10-24 18:36 ` Johan Bockgård
     [not found] ` <mailman.2022.1224873381.25473.help-gnu-emacs@gnu.org>
2008-10-25  7:45   ` Decebal
  -- strict thread matches above, loose matches on Subject: below --
2008-10-24 20:21 roodwriter

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=871vy6m4hd.fsf@gnu.org \
    --to=bastienguerry@googlemail.com \
    --cc=CLDWesterhof@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).