all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: locals.texi
Date: Thu, 06 Jul 2006 23:55:44 -0400	[thread overview]
Message-ID: <jwvmzbm83z9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <17578.64173.888606.837722@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 5 Jul 2006 11:33:01 +1200")

> However, my original question was that with a variable like
> font-lock-defaults, that automatically becomes buffer-local in each buffer, I
> presumably don't need to use make-local-variable at all?

That's only true if you're 100% sure that the call to
make-variable-buffer-local will always have been made before your code runs.

In the case of font-lock-defaults it's currently true (since it's in
font-core.el which is preloaded), but it wasn't true in older Emacsen.


        Stefan

      parent reply	other threads:[~2006-07-07  3:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-28 22:49 locals.texi Nick Roberts
2006-06-29 17:57 ` locals.texi Richard Stallman
2006-07-04 16:31   ` locals.texi Stefan Monnier
2006-07-04 20:53     ` locals.texi Richard Stallman
2006-07-04 23:33       ` locals.texi Nick Roberts
2006-07-05 17:01         ` locals.texi Richard Stallman
2006-07-07  3:55         ` Stefan Monnier [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

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

  git send-email \
    --in-reply-to=jwvmzbm83z9.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.