/[emacs]/emacs/lisp/emacs-lisp/generic.el
ViewVC logotype

Diff of /emacs/lisp/emacs-lisp/generic.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by lute, Thu Apr 28 09:18:24 2005 UTC revision 1.3 by lute, Thu Apr 28 13:56:34 2005 UTC
# Line 129  string will be used instead. Line 129  string will be used instead.
129  COMMENT-LIST is a list, whose entries are either a single  COMMENT-LIST is a list, whose entries are either a single
130  character, a one or two character string or a cons pair.  If the  character, a one or two character string or a cons pair.  If the
131  entry is a character or a string, it is added to the mode's  entry is a character or a string, it is added to the mode's
132  syntax table with `comment-start' syntax.  If the entry is a cons  syntax table with \"comment starter\" syntax.  If the entry is a
133  pair, the elements of the pair are considered to be  cons pair, the elements of the pair are considered to be
134  `comment-start' and `comment-end' respectively.  (The latter  \"comment starter\" and \"comment ender\" respectively.  (The
135  should be nil if you want comments to end at end of line.)  Note  latter should be nil if you want comments to end at end of line.)
136  that Emacs has limitations regarding comment characters.  Note that Emacs has limitations regarding comment characters.
137    
138  KEYWORD-LIST is a list of keywords to highlight with  KEYWORD-LIST is a list of keywords to highlight with
139  `font-lock-keyword-face'.  Each keyword should be a string.  `font-lock-keyword-face'.  Each keyword should be a string.
# Line 143  Each entry in the list should have the s Line 143  Each entry in the list should have the s
143  `font-lock-keywords'.  `font-lock-keywords'.
144    
145  AUTO-MODE-LIST is a list of regular expressions to add to  AUTO-MODE-LIST is a list of regular expressions to add to
146  `auto-mode-alist'.  These regexps are added to `auto-mode-alist'  `auto-mode-alist'.  These regular expressions are added as soon
147  as soon as `define-generic-mode' is called.  as `define-generic-mode' is called.
148    
149  FUNCTION-LIST is a list of functions to call to do some  FUNCTION-LIST is a list of functions to call to do some
150  additional setup.  additional setup.  The mode command calls these functions just
151    before it runs the mode hook.
152    
153  The optional CUSTOM-KEYWORD-ARGS are pairs of keywords and  The optional CUSTOM-KEYWORD-ARGS are pairs of keywords and
154  values.  They will be passed to the generated `defcustom' form of  values.  They are passed to the generated `defcustom' form of the
155  the mode hook variable MODE-hook.  Defaults to MODE without the  mode hook variable MODE-hook.  The default value for the `:group'
156  possible trailing \"-mode\".  (This default may not be a valid  keyword is MODE without the possible trailing \"-mode\".  (Don't
157  customization group defined with `defgroup'.  Make sure it is.)  use this default group name unless you have written a `defgroup'
158  You can specify keyword arguments without specifying a docstring.  to define that group properly.)  You can specify keyword
159    arguments without specifying a docstring.
160    
161  See the file generic-x.el for some examples of `define-generic-mode'."  See the file generic-x.el for some examples of `define-generic-mode'."
162    (declare (debug (sexp def-form def-form def-form form def-form    (declare (debug (sexp def-form def-form def-form form def-form

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26