From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: locals.texi Date: Thu, 06 Jul 2006 23:55:44 -0400 Message-ID: References: <17571.1885.899074.211162@kahikatea.snap.net.nz> <17578.64173.888606.837722@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1152244566 10687 80.91.229.2 (7 Jul 2006 03:56:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2006 03:56:06 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 07 05:56:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FyhRY-0001iN-Ft for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 05:55:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyhRY-0001YK-1f for ged-emacs-devel@m.gmane.org; Thu, 06 Jul 2006 23:55:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FyhRN-0001YE-KW for emacs-devel@gnu.org; Thu, 06 Jul 2006 23:55:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FyhRK-0001Xy-7b for emacs-devel@gnu.org; Thu, 06 Jul 2006 23:55:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyhRK-0001Xv-2G for emacs-devel@gnu.org; Thu, 06 Jul 2006 23:55:38 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FyhRc-0005Ew-Fr; Thu, 06 Jul 2006 23:55:56 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by mx20.gnu.org with esmtp (Exim 4.52) id 1FyhRG-0002MY-Vp; Thu, 06 Jul 2006 23:55:35 -0400 Original-Received: from localhost ([70.55.147.13]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060707035533.BEMI1747.tomts25-srv.bellnexxia.net@localhost>; Thu, 6 Jul 2006 23:55:33 -0400 Original-Received: by localhost (Postfix, from userid 20848) id AB1C18CDE; Thu, 6 Jul 2006 23:55:44 -0400 (EDT) Original-To: Nick Roberts In-Reply-To: <17578.64173.888606.837722@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 5 Jul 2006 11:33:01 +1200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56685 Archived-At: > 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