aboutsummaryrefslogtreecommitdiffstats
path: root/src/casetab.c
diff options
context:
space:
mode:
authorPavel Janík2001-10-20 20:56:10 +0000
committerPavel Janík2001-10-20 20:56:10 +0000
commitfdb82f93376a6b495c573a6c788b807acffdbfa9 (patch)
tree107b731b733908446a3902f6ce0e4f2d23dcd8f9 /src/casetab.c
parentc0a53abba1d89bb487e3a38a0e7336bdce46fd1d (diff)
downloademacs-fdb82f93376a6b495c573a6c788b807acffdbfa9.tar.gz
emacs-fdb82f93376a6b495c573a6c788b807acffdbfa9.zip
Change doc-string comments to `new style' [w/`doc:' keyword].
Diffstat (limited to 'src/casetab.c')
-rw-r--r--src/casetab.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/casetab.c b/src/casetab.c
index aa87f5ad8fb..de504e2e335 100644
--- a/src/casetab.c
+++ b/src/casetab.c
@@ -39,9 +39,9 @@ static void set_identity ();
39static void shuffle (); 39static void shuffle ();
40 40
41DEFUN ("case-table-p", Fcase_table_p, Scase_table_p, 1, 1, 0, 41DEFUN ("case-table-p", Fcase_table_p, Scase_table_p, 1, 1, 0,
42 "Return t iff OBJECT is a case table.\n\ 42 doc: /* Return t iff OBJECT is a case table.
43See `set-case-table' for more information on these data structures.") 43See `set-case-table' for more information on these data structures. */)
44 (object) 44 (object)
45 Lisp_Object object; 45 Lisp_Object object;
46{ 46{
47 Lisp_Object up, canon, eqv; 47 Lisp_Object up, canon, eqv;
@@ -74,16 +74,16 @@ check_case_table (obj)
74} 74}
75 75
76DEFUN ("current-case-table", Fcurrent_case_table, Scurrent_case_table, 0, 0, 0, 76DEFUN ("current-case-table", Fcurrent_case_table, Scurrent_case_table, 0, 0, 0,
77 "Return the case table of the current buffer.") 77 doc: /* Return the case table of the current buffer. */)
78 () 78 ()
79{ 79{
80 return current_buffer->downcase_table; 80 return current_buffer->downcase_table;
81} 81}
82 82
83DEFUN ("standard-case-table", Fstandard_case_table, Sstandard_case_table, 0, 0, 0, 83DEFUN ("standard-case-table", Fstandard_case_table, Sstandard_case_table, 0, 0, 0,
84 "Return the standard case table.\n\ 84 doc: /* Return the standard case table.
85This is the one used for new buffers.") 85This is the one used for new buffers. */)
86 () 86 ()
87{ 87{
88 return Vascii_downcase_table; 88 return Vascii_downcase_table;
89} 89}
@@ -91,31 +91,31 @@ This is the one used for new buffers.")
91static Lisp_Object set_case_table (); 91static Lisp_Object set_case_table ();
92 92
93DEFUN ("set-case-table", Fset_case_table, Sset_case_table, 1, 1, 0, 93DEFUN ("set-case-table", Fset_case_table, Sset_case_table, 1, 1, 0,
94 "Select a new case table for the current buffer.\n\ 94 doc: /* Select a new case table for the current buffer.
95A case table is a char-table which maps characters\n\ 95A case table is a char-table which maps characters
96to their lower-case equivalents. It also has three \"extra\" slots\n\ 96to their lower-case equivalents. It also has three \"extra\" slots
97which may be additional char-tables or nil.\n\ 97which may be additional char-tables or nil.
98These slots are called UPCASE, CANONICALIZE and EQUIVALENCES.\n\ 98These slots are called UPCASE, CANONICALIZE and EQUIVALENCES.
99UPCASE maps each character to its upper-case equivalent;\n\ 99UPCASE maps each character to its upper-case equivalent;
100 if lower and upper case characters are in 1-1 correspondence,\n\ 100 if lower and upper case characters are in 1-1 correspondence,
101 you may use nil and the upcase table will be deduced from DOWNCASE.\n\ 101 you may use nil and the upcase table will be deduced from DOWNCASE.
102CANONICALIZE maps each character to a canonical equivalent;\n\ 102CANONICALIZE maps each character to a canonical equivalent;
103 any two characters that are related by case-conversion have the same\n\ 103 any two characters that are related by case-conversion have the same
104 canonical equivalent character; it may be nil, in which case it is\n\ 104 canonical equivalent character; it may be nil, in which case it is
105 deduced from DOWNCASE and UPCASE.\n\ 105 deduced from DOWNCASE and UPCASE.
106EQUIVALENCES is a map that cyclicly permutes each equivalence class\n\ 106EQUIVALENCES is a map that cyclicly permutes each equivalence class
107 (of characters with the same canonical equivalent); it may be nil,\n\ 107 (of characters with the same canonical equivalent); it may be nil,
108 in which case it is deduced from CANONICALIZE.") 108 in which case it is deduced from CANONICALIZE. */)
109 (table) 109 (table)
110 Lisp_Object table; 110 Lisp_Object table;
111{ 111{
112 return set_case_table (table, 0); 112 return set_case_table (table, 0);
113} 113}
114 114
115DEFUN ("set-standard-case-table", Fset_standard_case_table, Sset_standard_case_table, 1, 1, 0, 115DEFUN ("set-standard-case-table", Fset_standard_case_table, Sset_standard_case_table, 1, 1, 0,
116 "Select a new standard case table for new buffers.\n\ 116 doc: /* Select a new standard case table for new buffers.
117See `set-case-table' for more info on case tables.") 117See `set-case-table' for more info on case tables. */)
118 (table) 118 (table)
119 Lisp_Object table; 119 Lisp_Object table;
120{ 120{
121 return set_case_table (table, 1); 121 return set_case_table (table, 1);