diff lisp/files.el @ 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 dc9565b08f10
children dfdf14a6f5a0
line wrap: on
line diff
--- 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).