Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
107403:ef684a3be0f9 | 107404:b2cb35577e6e |
---|---|
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 |
9 ;; This file is part of GNU Emacs. | 9 ;; This file is part of GNU Emacs. |
10 | 10 |
2402 ("more" . text-mode) | 2402 ("more" . text-mode) |
2403 ("less" . text-mode) | 2403 ("less" . text-mode) |
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. |
2409 This is used for files whose first lines match `auto-mode-interpreter-regexp'. | 2410 This is used for files whose first lines match `auto-mode-interpreter-regexp'. |
2410 Each element looks like (INTERPRETER . MODE). | 2411 Each element looks like (INTERPRETER . MODE). |
2411 If INTERPRETER matches the name of the interpreter specified in the first line | 2412 If INTERPRETER matches the name of the interpreter specified in the first line |
2412 of a script, mode MODE is enabled. | 2413 of a script, mode MODE is enabled. |