aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2002-05-26 17:07:35 +0000
committerDave Love2002-05-26 17:07:35 +0000
commitda7db22498e679c29dc9facb3ce503bf63046563 (patch)
tree667b4842172b1f98a8d2e513e0dbc7b97569f833 /src
parent76ed8f14a7fb946ecf4de8f958ec680d257bb0ad (diff)
downloademacs-da7db22498e679c29dc9facb3ce503bf63046563.tar.gz
emacs-da7db22498e679c29dc9facb3ce503bf63046563.zip
Doc fixes.
(Fcoding_system_aliases): Fix return value.
Diffstat (limited to 'src')
-rw-r--r--src/coding.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/coding.c b/src/coding.c
index 435a3f45a86..bf0eaa3088a 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -7176,7 +7176,7 @@ usage: (find-operation-coding-system OPERATION ARGUMENTS ...) */)
7176 7176
7177DEFUN ("set-coding-system-priority", Fset_coding_system_priority, 7177DEFUN ("set-coding-system-priority", Fset_coding_system_priority,
7178 Sset_coding_system_priority, 1, MANY, 0, 7178 Sset_coding_system_priority, 1, MANY, 0,
7179 doc: /* Assign higher priority to coding systems given as arguments. 7179 doc: /* Assign higher priority to the coding systems given as arguments.
7180usage: (set-coding-system-priority CODING-SYSTEM ...) */) 7180usage: (set-coding-system-priority CODING-SYSTEM ...) */)
7181 (nargs, args) 7181 (nargs, args)
7182 int nargs; 7182 int nargs;
@@ -7226,7 +7226,8 @@ usage: (set-coding-system-priority CODING-SYSTEM ...) */)
7226 7226
7227DEFUN ("coding-system-priority-list", Fcoding_system_priority_list, 7227DEFUN ("coding-system-priority-list", Fcoding_system_priority_list,
7228 Scoding_system_priority_list, 0, 1, 0, 7228 Scoding_system_priority_list, 0, 1, 0,
7229 doc: /* Return a list of coding systems ordered by their priorities. */) 7229 doc: /* Return a list of coding systems ordered by their priorities.
7230HIGHESTP non-nil means just return the highest priority one. */)
7230 (highestp) 7231 (highestp)
7231 Lisp_Object highestp; 7232 Lisp_Object highestp;
7232{ 7233{
@@ -7717,6 +7718,8 @@ usage: (define-coding-system-internal ...) */)
7717 make_number (nargs))); 7718 make_number (nargs)));
7718} 7719}
7719 7720
7721/* Fixme: should this record the alias relationships for
7722 diagnostics? */
7720DEFUN ("define-coding-system-alias", Fdefine_coding_system_alias, 7723DEFUN ("define-coding-system-alias", Fdefine_coding_system_alias,
7721 Sdefine_coding_system_alias, 2, 2, 0, 7724 Sdefine_coding_system_alias, 2, 2, 0,
7722 doc: /* Define ALIAS as an alias for CODING-SYSTEM. */) 7725 doc: /* Define ALIAS as an alias for CODING-SYSTEM. */)
@@ -7756,7 +7759,7 @@ DEFUN ("define-coding-system-alias", Fdefine_coding_system_alias,
7756DEFUN ("coding-system-base", Fcoding_system_base, Scoding_system_base, 7759DEFUN ("coding-system-base", Fcoding_system_base, Scoding_system_base,
7757 1, 1, 0, 7760 1, 1, 0,
7758 doc: /* Return the base of CODING-SYSTEM. 7761 doc: /* Return the base of CODING-SYSTEM.
7759Any alias or subsidiary coding systems are not base coding system. */) 7762Any alias or subsidiary coding system is not a base coding system. */)
7760 (coding_system) 7763 (coding_system)
7761 Lisp_Object coding_system; 7764 Lisp_Object coding_system;
7762{ 7765{
@@ -7787,9 +7790,7 @@ DEFUN ("coding-system-plist", Fcoding_system_plist, Scoding_system_plist,
7787 7790
7788DEFUN ("coding-system-aliases", Fcoding_system_aliases, Scoding_system_aliases, 7791DEFUN ("coding-system-aliases", Fcoding_system_aliases, Scoding_system_aliases,
7789 1, 1, 0, 7792 1, 1, 0,
7790 doc: /* Return the list of aliases of CODING-SYSTEM. 7793 doc: /* Return the list of aliases of CODING-SYSTEM. */)
7791A base coding system is what made by `define-coding-system'.
7792Any alias nor subsidiary coding systems are not base coding system. */)
7793 (coding_system) 7794 (coding_system)
7794 Lisp_Object coding_system; 7795 Lisp_Object coding_system;
7795{ 7796{
@@ -7798,7 +7799,7 @@ Any alias nor subsidiary coding systems are not base coding system. */)
7798 if (NILP (coding_system)) 7799 if (NILP (coding_system))
7799 coding_system = Qno_conversion; 7800 coding_system = Qno_conversion;
7800 CHECK_CODING_SYSTEM_GET_SPEC (coding_system, spec); 7801 CHECK_CODING_SYSTEM_GET_SPEC (coding_system, spec);
7801 return AREF (spec, 2); 7802 return AREF (spec, 1);
7802} 7803}
7803 7804
7804DEFUN ("coding-system-eol-type", Fcoding_system_eol_type, 7805DEFUN ("coding-system-eol-type", Fcoding_system_eol_type,