diff options
| author | Kenichi Handa | 1997-08-26 11:42:33 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-08-26 11:42:33 +0000 |
| commit | 61e011d971ca184044c1d0773db89e87b418af80 (patch) | |
| tree | c763d409ddde7c0a8331799864ba68b8771f5b07 /src | |
| parent | cee545397486bf5610fa7ab6def2b4cf8896e813 (diff) | |
| download | emacs-61e011d971ca184044c1d0773db89e87b418af80.tar.gz emacs-61e011d971ca184044c1d0773db89e87b418af80.zip | |
(Fread_non_nil_coding_system): Supply the arg
INHERIT-INPUT-METHOD to Fcompleting_read.
(Fread_coding_system): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index 548a7388527..1e0e992ea35 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -3079,7 +3079,7 @@ DEFUN ("read-non-nil-coding-system", Fread_non_nil_coding_system, | |||
| 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)); |
| @@ -3091,7 +3091,7 @@ DEFUN ("read-coding-system", Fread_coding_system, Sread_coding_system, 1, 1, 0, | |||
| 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 | ||