From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: another minor lexbind patch Date: Tue, 27 Apr 2010 14:20:49 -0600 Message-ID: Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272399667 32340 80.91.229.12 (27 Apr 2010 20:21:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2010 20:21:07 +0000 (UTC) To: Emacs discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 27 22:21:06 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O6rHG-0001Cd-BH for ged-emacs-devel@m.gmane.org; Tue, 27 Apr 2010 22:21:06 +0200 Original-Received: from localhost ([127.0.0.1]:54100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6rHF-0008Il-Fq for ged-emacs-devel@m.gmane.org; Tue, 27 Apr 2010 16:21:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6rH7-0008FV-Tw for emacs-devel@gnu.org; Tue, 27 Apr 2010 16:20:57 -0400 Original-Received: from [140.186.70.92] (port=35557 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6rH5-0008An-Fo for emacs-devel@gnu.org; Tue, 27 Apr 2010 16:20:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6rH3-0001yD-Uw for emacs-devel@gnu.org; Tue, 27 Apr 2010 16:20:55 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:8452) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6rH3-0001xs-NK for emacs-devel@gnu.org; Tue, 27 Apr 2010 16:20:53 -0400 Original-Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3RKKpks009629 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 27 Apr 2010 16:20:52 -0400 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3RKKpeq027248; Tue, 27 Apr 2010 16:20:51 -0400 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o3RKKnUP030768; Tue, 27 Apr 2010 16:20:50 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 929F43786F9; Tue, 27 Apr 2010 14:20:49 -0600 (MDT) X-Attribution: Tom X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:124261 Archived-At: Here's a trivial patch to the lexbind branch to make lexical-binding a safe local variable. Tom 2010-04-27 Tom Tromey * files.el (lexical-binding): Set safe-local-variable. === modified file 'lisp/files.el' *** lisp/files.el 2009-12-11 11:04:56 +0000 --- lisp/files.el 2010-04-27 20:10:38 +0000 *************** *** 2,8 **** ;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, ;; 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, ! ;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc. ;; Maintainer: FSF --- 2,8 ---- ;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, ;; 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, ! ;; 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. ;; Maintainer: FSF *************** *** 2770,2776 **** (left-margin . integerp) ;; C source code (no-update-autoloads . booleanp) (tab-width . integerp) ;; C source code ! (truncate-lines . booleanp))) ;; C source code (put 'c-set-style 'safe-local-eval-function t) --- 2770,2777 ---- (left-margin . integerp) ;; C source code (no-update-autoloads . booleanp) (tab-width . integerp) ;; C source code ! (truncate-lines . booleanp) ;; C source code ! (lexical-binding . booleanp))) ;; C source code (put 'c-set-style 'safe-local-eval-function t)