1 |
;;; generic.el --- defining simple major modes with comment and font-lock |
;;; generic.el --- defining simple major modes with comment and font-lock |
2 |
;; |
;; |
3 |
;; Copyright (C) 1997, 1999 Free Software Foundation, Inc. |
;; Copyright (C) 1997, 1999, 2004 Free Software Foundation, Inc. |
4 |
;; |
;; |
5 |
;; Author: Peter Breton <pbreton@cs.umb.edu> |
;; Author: Peter Breton <pbreton@cs.umb.edu> |
6 |
;; Created: Fri Sep 27 1996 |
;; Created: Fri Sep 27 1996 |
188 |
&optional description) |
&optional description) |
189 |
"Create a new generic mode with NAME. |
"Create a new generic mode with NAME. |
190 |
|
|
|
Args: (NAME COMMENT-LIST KEYWORD-LIST FONT-LOCK-LIST AUTO-MODE-LIST |
|
|
FUNCTION-LIST &optional DESCRIPTION) |
|
|
|
|
191 |
NAME should be a symbol; its string representation is used as the function |
NAME should be a symbol; its string representation is used as the function |
192 |
name. If DESCRIPTION is provided, it is used as the docstring for the new |
name. If DESCRIPTION is provided, it is used as the docstring for the new |
193 |
function. |
function. |