Mercurial > emacs
comparison lisp/generic.el @ 55555:7cb75f6a290a
(define-generic-mode): Remove redundant arglist info.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 12 May 2004 20:20:01 +0000 |
parents | 3cf88b19f762 |
children | 5bd3a1e1dfe5 4c90ffeb71c5 |
comparison
equal
deleted
inserted
replaced
55554:3ea194b43727 | 55555:7cb75f6a290a |
---|---|
1 ;;; generic.el --- defining simple major modes with comment and font-lock | 1 ;;; generic.el --- defining simple major modes with comment and font-lock |
2 ;; | 2 ;; |
3 ;; Copyright (C) 1997, 1999 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1997, 1999, 2004 Free Software Foundation, Inc. |
4 ;; | 4 ;; |
5 ;; Author: Peter Breton <pbreton@cs.umb.edu> | 5 ;; Author: Peter Breton <pbreton@cs.umb.edu> |
6 ;; Created: Fri Sep 27 1996 | 6 ;; Created: Fri Sep 27 1996 |
7 ;; Keywords: generic, comment, font-lock | 7 ;; Keywords: generic, comment, font-lock |
8 | 8 |
185 ;;;###autoload | 185 ;;;###autoload |
186 (defun define-generic-mode (name comment-list keyword-list font-lock-list | 186 (defun define-generic-mode (name comment-list keyword-list font-lock-list |
187 auto-mode-list function-list | 187 auto-mode-list function-list |
188 &optional description) | 188 &optional description) |
189 "Create a new generic mode with NAME. | 189 "Create a new generic mode with NAME. |
190 | |
191 Args: (NAME COMMENT-LIST KEYWORD-LIST FONT-LOCK-LIST AUTO-MODE-LIST | |
192 FUNCTION-LIST &optional DESCRIPTION) | |
193 | 190 |
194 NAME should be a symbol; its string representation is used as the function | 191 NAME should be a symbol; its string representation is used as the function |
195 name. If DESCRIPTION is provided, it is used as the docstring for the new | 192 name. If DESCRIPTION is provided, it is used as the docstring for the new |
196 function. | 193 function. |
197 | 194 |