Mercurial > hg > xemacs-beta
annotate lib-src/digest-doc.c @ 5066:545ec923b4eb
add documentation on keywords to cl*.el
-------------------- ChangeLog entries follow: --------------------
lisp/ChangeLog addition:
2010-02-22 Ben Wing <ben@xemacs.org>
* cl-seq.el:
* cl-seq.el (reduce):
* cl-seq.el (fill):
* cl-seq.el (replace):
* cl-seq.el (remove*):
* cl-seq.el (remove-if):
* cl-seq.el (remove-if-not):
* cl-seq.el (delete*):
* cl-seq.el (delete-if):
* cl-seq.el (delete-if-not):
* cl-seq.el (remove-duplicates):
* cl-seq.el (delete-duplicates):
* cl-seq.el (substitute):
* cl-seq.el (substitute-if):
* cl-seq.el (substitute-if-not):
* cl-seq.el (nsubstitute):
* cl-seq.el (nsubstitute-if):
* cl-seq.el (nsubstitute-if-not):
* cl-seq.el (find):
* cl-seq.el (find-if):
* cl-seq.el (find-if-not):
* cl-seq.el (position):
* cl-seq.el (position-if):
* cl-seq.el (position-if-not):
* cl-seq.el (count):
* cl-seq.el (count-if):
* cl-seq.el (count-if-not):
* cl-seq.el (mismatch):
* cl-seq.el (search):
* cl-seq.el (sort*):
* cl-seq.el (stable-sort):
* cl-seq.el (merge):
* cl-seq.el (member*):
* cl-seq.el (member-if):
* cl-seq.el (member-if-not):
* cl-seq.el (assoc*):
* cl-seq.el (assoc-if):
* cl-seq.el (assoc-if-not):
* cl-seq.el (rassoc*):
* cl-seq.el (rassoc-if):
* cl-seq.el (rassoc-if-not):
* cl-seq.el (union):
* cl-seq.el (nunion):
* cl-seq.el (intersection):
* cl-seq.el (nintersection):
* cl-seq.el (set-difference):
* cl-seq.el (nset-difference):
* cl-seq.el (set-exclusive-or):
* cl-seq.el (nset-exclusive-or):
* cl-seq.el (subsetp):
* cl-seq.el (subst-if):
* cl-seq.el (subst-if-not):
* cl-seq.el (nsubst):
* cl-seq.el (nsubst-if):
* cl-seq.el (nsubst-if-not):
* cl-seq.el (sublis):
* cl-seq.el (nsublis):
* cl-seq.el (tree-equal):
* cl-seq.el (cl-tree-equal-rec):
* cl.el:
* cl.el (pushnew):
* cl.el (adjoin):
* cl.el (subst):
Document the keywords to the various sequence/list functions.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 22 Feb 2010 21:17:47 -0600 |
parents | ecf1ebac70d8 |
children | ed624ab64583 06dd936cde16 |
rev | line source |
---|---|
428 | 1 /* Give this program DOCSTR.mm.nn as standard input |
2 and it outputs to standard output | |
3 a file of nroff output containing the doc strings. | |
4 | |
5 See also sorted-doc.c, which produces similar output | |
6 but in texinfo format and sorted by function/variable name. */ | |
7 | |
8 #ifdef emacs | |
438 | 9 #include <config.h> |
428 | 10 #endif |
11 #include <stdio.h> | |
12 | |
13 int | |
2367 | 14 main (int argc, char **argv) |
428 | 15 { |
16 register int ch; | |
17 register int notfirst = 0; | |
18 | |
19 printf (".TL\n"); | |
613 | 20 printf ("Command Summary for XEmacs\n"); |
21 printf (".AU\nThe XEmacs Advocacy Group\n"); | |
428 | 22 while ((ch = getchar ()) != EOF) |
23 { | |
24 if (ch == '\037') | |
25 { | |
26 if (notfirst) | |
27 printf ("\n.DE"); | |
28 else | |
29 notfirst = 1; | |
30 | |
31 printf ("\n.SH\n"); | |
32 | |
33 ch = getchar (); | |
34 printf (ch == 'F' ? "Function " : "Variable "); | |
35 | |
36 while ((ch = getchar ()) != '\n') /* Changed this line */ | |
37 { | |
38 if (ch != EOF) | |
39 putchar (ch); | |
40 else | |
41 { | |
42 ungetc (ch, stdin); | |
43 break; | |
44 } | |
45 } | |
46 printf ("\n.DS L\n"); | |
47 } | |
48 else | |
49 putchar (ch); | |
50 } | |
51 return 0; | |
52 } |