aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorDave Love2003-09-17 19:21:10 +0000
committerDave Love2003-09-17 19:21:10 +0000
commita31810840dad98cc0c5902565c37fb4bd7408255 (patch)
tree00b066771293021056db241141aec1c438a1225e /src/coding.c
parent005ca5c7308b87dcf31eb85d8242c8267c604cbb (diff)
downloademacs-a31810840dad98cc0c5902565c37fb4bd7408255.tar.gz
emacs-a31810840dad98cc0c5902565c37fb4bd7408255.zip
(Fread_coding_system): Fix arg of XSETSTRING.
(Fset_coding_system_priority): Doc fix.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index c3804630d72..982aaac1c1e 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6692,7 +6692,7 @@ If the user enters null input, return second argument DEFAULT-CODING-SYSTEM. */
6692{ 6692{
6693 Lisp_Object val; 6693 Lisp_Object val;
6694 if (SYMBOLP (default_coding_system)) 6694 if (SYMBOLP (default_coding_system))
6695 XSETSTRING (default_coding_system, SYMBOL_NAME (default_coding_system)); 6695 XSETSTRING (default_coding_system, XPNTR (SYMBOL_NAME (default_coding_system)));
6696 val = Fcompleting_read (prompt, Vcoding_system_alist, Qnil, 6696 val = Fcompleting_read (prompt, Vcoding_system_alist, Qnil,
6697 Qt, Qnil, Qcoding_system_history, 6697 Qt, Qnil, Qcoding_system_history,
6698 default_coding_system, Qnil); 6698 default_coding_system, Qnil);
@@ -7873,7 +7873,9 @@ DEFUN ("set-coding-system-priority", Fset_coding_system_priority,
7873 Sset_coding_system_priority, 0, MANY, 0, 7873 Sset_coding_system_priority, 0, MANY, 0,
7874 doc: /* Assign higher priority to the coding systems given as arguments. 7874 doc: /* Assign higher priority to the coding systems given as arguments.
7875If multiple coding systems belongs to the same category, 7875If multiple coding systems belongs to the same category,
7876all but the first one are ignored. */) 7876all but the first one are ignored.
7877
7878usage: (set-coding-system-priority ...) */)
7877 (nargs, args) 7879 (nargs, args)
7878 int nargs; 7880 int nargs;
7879 Lisp_Object *args; 7881 Lisp_Object *args;