Mercurial > emacs
comparison src/coding.c @ 19546:38c46419910a
(Fread_non_nil_coding_system): Supply the arg
INHERIT-INPUT-METHOD to Fcompleting_read.
(Fread_coding_system): Likewise.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Tue, 26 Aug 1997 11:42:33 +0000 |
| parents | 33c5695c6c7e |
| children | 783efd6c7c1e |
comparison
equal
deleted
inserted
replaced
| 19545:a7f1c1acde93 | 19546:38c46419910a |
|---|---|
| 3077 { | 3077 { |
| 3078 Lisp_Object val; | 3078 Lisp_Object val; |
| 3079 do | 3079 do |
| 3080 { | 3080 { |
| 3081 val = Fcompleting_read (prompt, Vobarray, Qcoding_system_spec, | 3081 val = Fcompleting_read (prompt, Vobarray, Qcoding_system_spec, |
| 3082 Qt, Qnil, Qnil, Qnil); | 3082 Qt, Qnil, Qnil, Qnil, Qnil); |
| 3083 } | 3083 } |
| 3084 while (XSTRING (val)->size == 0); | 3084 while (XSTRING (val)->size == 0); |
| 3085 return (Fintern (val, Qnil)); | 3085 return (Fintern (val, Qnil)); |
| 3086 } | 3086 } |
| 3087 | 3087 |
| 3089 "Read a coding system or nil from the minibuffer, prompting with string PROMPT.") | 3089 "Read a coding system or nil from the minibuffer, prompting with string PROMPT.") |
| 3090 (prompt) | 3090 (prompt) |
| 3091 Lisp_Object prompt; | 3091 Lisp_Object prompt; |
| 3092 { | 3092 { |
| 3093 Lisp_Object val = Fcompleting_read (prompt, Vobarray, Qcoding_system_p, | 3093 Lisp_Object val = Fcompleting_read (prompt, Vobarray, Qcoding_system_p, |
| 3094 Qt, Qnil, Qnil, Qnil); | 3094 Qt, Qnil, Qnil, Qnil, Qnil); |
| 3095 return (XSTRING (val)->size == 0 ? Qnil : Fintern (val, Qnil)); | 3095 return (XSTRING (val)->size == 0 ? Qnil : Fintern (val, Qnil)); |
| 3096 } | 3096 } |
| 3097 | 3097 |
| 3098 DEFUN ("check-coding-system", Fcheck_coding_system, Scheck_coding_system, | 3098 DEFUN ("check-coding-system", Fcheck_coding_system, Scheck_coding_system, |
| 3099 1, 1, 0, | 3099 1, 1, 0, |
