diff options
| author | Pavel Janík | 2001-10-20 20:56:10 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-10-20 20:56:10 +0000 |
| commit | fdb82f93376a6b495c573a6c788b807acffdbfa9 (patch) | |
| tree | 107b731b733908446a3902f6ce0e4f2d23dcd8f9 /src/casetab.c | |
| parent | c0a53abba1d89bb487e3a38a0e7336bdce46fd1d (diff) | |
| download | emacs-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.c | 54 |
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 (); | |||
| 39 | static void shuffle (); | 39 | static void shuffle (); |
| 40 | 40 | ||
| 41 | DEFUN ("case-table-p", Fcase_table_p, Scase_table_p, 1, 1, 0, | 41 | DEFUN ("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. |
| 43 | See `set-case-table' for more information on these data structures.") | 43 | See `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 | ||
| 76 | DEFUN ("current-case-table", Fcurrent_case_table, Scurrent_case_table, 0, 0, 0, | 76 | DEFUN ("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 | ||
| 83 | DEFUN ("standard-case-table", Fstandard_case_table, Sstandard_case_table, 0, 0, 0, | 83 | DEFUN ("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. |
| 85 | This is the one used for new buffers.") | 85 | This 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.") | |||
| 91 | static Lisp_Object set_case_table (); | 91 | static Lisp_Object set_case_table (); |
| 92 | 92 | ||
| 93 | DEFUN ("set-case-table", Fset_case_table, Sset_case_table, 1, 1, 0, | 93 | DEFUN ("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. |
| 95 | A case table is a char-table which maps characters\n\ | 95 | A case table is a char-table which maps characters |
| 96 | to their lower-case equivalents. It also has three \"extra\" slots\n\ | 96 | to their lower-case equivalents. It also has three \"extra\" slots |
| 97 | which may be additional char-tables or nil.\n\ | 97 | which may be additional char-tables or nil. |
| 98 | These slots are called UPCASE, CANONICALIZE and EQUIVALENCES.\n\ | 98 | These slots are called UPCASE, CANONICALIZE and EQUIVALENCES. |
| 99 | UPCASE maps each character to its upper-case equivalent;\n\ | 99 | UPCASE 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. |
| 102 | CANONICALIZE maps each character to a canonical equivalent;\n\ | 102 | CANONICALIZE 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. |
| 106 | EQUIVALENCES is a map that cyclicly permutes each equivalence class\n\ | 106 | EQUIVALENCES 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 | ||
| 115 | DEFUN ("set-standard-case-table", Fset_standard_case_table, Sset_standard_case_table, 1, 1, 0, | 115 | DEFUN ("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. |
| 117 | See `set-case-table' for more info on case tables.") | 117 | See `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); |