changeset 89519:040a08a2a879

(Fread_coding_system): Fix arg of XSETSTRING. (Fset_coding_system_priority): Doc fix.
author Dave Love <fx@gnu.org>
date Wed, 17 Sep 2003 19:21:10 +0000
parents c9f7a2f363ca
children 2c1ad8f1fe6f
files src/coding.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Wed Sep 17 19:16:27 2003 +0000
+++ b/src/coding.c	Wed Sep 17 19:21:10 2003 +0000
@@ -6692,7 +6692,7 @@
 {
   Lisp_Object val;
   if (SYMBOLP (default_coding_system))
-    XSETSTRING (default_coding_system, SYMBOL_NAME (default_coding_system));
+    XSETSTRING (default_coding_system, XPNTR (SYMBOL_NAME (default_coding_system)));
   val = Fcompleting_read (prompt, Vcoding_system_alist, Qnil,
 			  Qt, Qnil, Qcoding_system_history,
 			  default_coding_system, Qnil);
@@ -7873,7 +7873,9 @@
        Sset_coding_system_priority, 0, MANY, 0,
        doc: /* Assign higher priority to the coding systems given as arguments.
 If multiple coding systems belongs to the same category,
-all but the first one are ignored.  */)
+all but the first one are ignored.
+
+usage: (set-coding-system-priority ...)  */)
      (nargs, args)
      int nargs;
      Lisp_Object *args;