aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-03-17 21:54:51 -0700
committerGlenn Morris2010-03-17 21:54:51 -0700
commit04525749772d5a7d0c6ca0ea8b36104dc25a3e18 (patch)
tree1b47af04fdbf0de26b28271eb2e3a3df8a914aee
parent4a44ff5f138c8e6ef5cfbd97f7c11fca79e80dff (diff)
downloademacs-04525749772d5a7d0c6ca0ea8b36104dc25a3e18.tar.gz
emacs-04525749772d5a7d0c6ca0ea8b36104dc25a3e18.zip
* files.el (interpreter-mode-alist): Use emacs-lisp-mode for Emacs scripts.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/files.el7
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0deba1945da..e72757db8fe 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-03-18 Glenn Morris <rgm@gnu.org>
2
3 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
4 Emacs scripts.
5
12010-03-16 Michael Albinus <michael.albinus@gmx.de> 62010-03-16 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * net/secrets.el (secrets-enabled): New variable. Use it instead 8 * 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 @@
1;;; files.el --- file input and output commands for Emacs 1;;; files.el --- file input and output commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, 3;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996,
4;; 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 4;; 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
5;; 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 5;; 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
6 6
7;; Maintainer: FSF 7;; Maintainer: FSF
8 8
@@ -2404,7 +2404,8 @@ and `magic-mode-alist', which determines modes based on file contents.")
2404 ("pg" . text-mode) 2404 ("pg" . text-mode)
2405 ("make" . makefile-gmake-mode) ; Debian uses this 2405 ("make" . makefile-gmake-mode) ; Debian uses this
2406 ("guile" . scheme-mode) 2406 ("guile" . scheme-mode)
2407 ("clisp" . lisp-mode))) 2407 ("clisp" . lisp-mode)
2408 ("emacs" . emacs-lisp-mode)))
2408 "Alist mapping interpreter names to major modes. 2409 "Alist mapping interpreter names to major modes.
2409This is used for files whose first lines match `auto-mode-interpreter-regexp'. 2410This is used for files whose first lines match `auto-mode-interpreter-regexp'.
2410Each element looks like (INTERPRETER . MODE). 2411Each element looks like (INTERPRETER . MODE).