From: Glenn Morris Date: Thu, 18 Mar 2010 04:54:51 +0000 (-0700) Subject: * files.el (interpreter-mode-alist): Use emacs-lisp-mode for Emacs scripts. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~735 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=04525749772d5a7d0c6ca0ea8b36104dc25a3e18;p=emacs.git * files.el (interpreter-mode-alist): Use emacs-lisp-mode for Emacs scripts. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0deba1945da..e72757db8fe 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-03-18 Glenn Morris + + * files.el (interpreter-mode-alist): Use emacs-lisp-mode for + Emacs scripts. + 2010-03-16 Michael Albinus * net/secrets.el (secrets-enabled): New variable. Use it instead diff --git a/lisp/files.el b/lisp/files.el index 07442d4ba14..ed12d2a393a 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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 @@ and `magic-mode-alist', which determines modes based on file contents.") ("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).