changeset 107404:b2cb35577e6e

* files.el (interpreter-mode-alist): Use emacs-lisp-mode for Emacs scripts.
author Glenn Morris <rgm@gnu.org>
date Wed, 17 Mar 2010 21:54:51 -0700
parents ef684a3be0f9
children bc371c4be819
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Mar 17 02:53:43 2010 +0000
+++ b/lisp/ChangeLog	Wed Mar 17 21:54:51 2010 -0700
@@ -1,3 +1,8 @@
+2010-03-18  Glenn Morris  <rgm@gnu.org>
+
+	* files.el (interpreter-mode-alist): Use emacs-lisp-mode for
+	Emacs scripts.
+
 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
 
 	* net/secrets.el (secrets-enabled): New variable.  Use it instead
--- a/lisp/files.el	Wed Mar 17 02:53:43 2010 +0000
+++ b/lisp/files.el	Wed Mar 17 21:54:51 2010 -0700
@@ -1,8 +1,8 @@
 ;;; files.el --- file input and output commands for Emacs
 
 ;; 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.
+;;   1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+;;   2007, 2008, 2009, 2010  Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 
@@ -2404,7 +2404,8 @@
      ("pg" . text-mode)
      ("make" . makefile-gmake-mode)		; Debian uses this
      ("guile" . scheme-mode)
-     ("clisp" . lisp-mode)))
+     ("clisp" . lisp-mode)
+     ("emacs" . emacs-lisp-mode)))
   "Alist mapping interpreter names to major modes.
 This is used for files whose first lines match `auto-mode-interpreter-regexp'.
 Each element looks like (INTERPRETER . MODE).