unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: eval: (font-lock-mode -1) not working
Date: Wed, 04 Jul 2012 22:40:55 +0200	[thread overview]
Message-ID: <87ehor9s4o.fsf@turtle.gmx.de> (raw)
In-Reply-To: mailman.4054.1341433105.855.help-gnu-emacs@gnu.org

On 2012-07-04 22:18 +0200, Enda wrote:

> The following does not disable font-lock-mode (which I want it to) I
> think because global-font-lock-mode is set (which I want it to be):
>
> # Local Variables:
> # eval: (org-mode)
> # eval: (font-lock-mode -1)
> # End:

This works fine for me in Emacs 24.1, but not in 23.4.

> How do I disable font-lock-mode in one file without disabling it globally.

Consider upgrading to Emacs 24.

Cheers,
       Sven


       reply	other threads:[~2012-07-04 20:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4054.1341433105.855.help-gnu-emacs@gnu.org>
2012-07-04 20:40 ` Sven Joachim [this message]
2012-07-04 20:18 eval: (font-lock-mode -1) not working Enda

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=87ehor9s4o.fsf@turtle.gmx.de \
    --to=svenjoac@gmx.de \
    --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).