summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2004-05-12 20:22:41 +0000
committerJuanma Barranquero <lekktu@gmail.com>2004-05-12 20:22:41 +0000
commit71507e475241836c109f93954c3a362cefd01992 (patch)
tree6b7d78f63c403043812ff734168fa58381c565de /lisp
parent0e52264f1c7c859e35123120d92876d01ad1d350 (diff)
downloademacs-71507e475241836c109f93954c3a362cefd01992.tar.gz
emacs-71507e475241836c109f93954c3a362cefd01992.tar.bz2
emacs-71507e475241836c109f93954c3a362cefd01992.zip
(define-generic-mode): Remove redundant arglist info.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/generic.el5
2 files changed, 3 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bdb1b8417b0..9c9b2baa5b5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -11,6 +11,8 @@
2004-05-12 Juanma Barranquero <lektu@terra.es>
+ * generic.el (define-generic-mode): Remove redundant arglist info.
+
* help-fns.el (help-split-fundoc, help-add-fundoc-usage):
Make arguments match their use in docstring.
(help-arg-highlighting-function): New variable.
diff --git a/lisp/generic.el b/lisp/generic.el
index bd6fa0608aa..ca4b47ff4b1 100644
--- a/lisp/generic.el
+++ b/lisp/generic.el
@@ -1,6 +1,6 @@
;;; generic.el --- defining simple major modes with comment and font-lock
;;
-;; Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1999, 2004 Free Software Foundation, Inc.
;;
;; Author: Peter Breton <pbreton@cs.umb.edu>
;; Created: Fri Sep 27 1996
@@ -188,9 +188,6 @@ regexp in `generic-find-file-regexp'. If the value is nil,
&optional description)
"Create a new generic mode with NAME.
-Args: (NAME COMMENT-LIST KEYWORD-LIST FONT-LOCK-LIST AUTO-MODE-LIST
- FUNCTION-LIST &optional DESCRIPTION)
-
NAME should be a symbol; its string representation is used as the function
name. If DESCRIPTION is provided, it is used as the docstring for the new
function.